liweidxh

liweidxh

0个粉丝

1

问答

0

专栏

0

资料

liweidxh  发布于  2022-11-23 18:40:15
采纳率 0%
1个问答
1625

rk1126 ubuntu平台问题

 

使用官方给移植的ubuntu系统,是不是没有移植npu相关驱动?
我自己移植了一个系统,dmesg发现有报错:
`[ 71.800850] galcore: loading out-of-tree module taints kernel.
[ 71.814963] galcore: npu init.
[ 71.816304] galcore: start npu probe.
[ 71.816482] galcore ffbc0000.npu: Linked as a consumer to regulator.7
[ 71.817560] npu: platform_get_irq irq = 68
[ 71.817576] npu: platform_get_resource registerMemBase = ffbc0000, registerMemSize = 4000
[ 71.817586] Galcore version 6.4.3.5.293908
[ 71.817591] Galcore options:
[ 71.817596] irqLine = 68
[ 71.817601] registerMemBase = 0xFFBC0000
[ 71.817606] registerMemSize = 0x00004000
[ 71.817612] contiguousSize = 0x00400000
[ 71.817617] contiguousBase = 0x0
[ 71.817621] externalSize = 0x00000000
[ 71.817626] externalBase = 0x0
[ 71.817630] exclusiveSize = 0x00000000
[ 71.817634] exclusiveBase = 0x0
[ 71.817638] bankSize = 0x00000000
[ 71.817643] fastClear = -1
[ 71.817648] compression = 15
[ 71.817652] powerManagement = 1
[ 71.817656] baseAddress = 0x00000000
[ 71.817660] physSize = 0x00000000
[ 71.817665] recovery = 1
[ 71.817669] stuckDump = 0
[ 71.817673] gpuProfiler = 1
[ 71.817677] userClusterMask = 0x0
[ 71.817682] GPU smallBatch = 1
[ 71.817686] allMapInOne = 1
[ 71.817690] irqs =
[ 71.817694] 68,
[ 71.817698] -1,
[ 71.817702] -1,
[ 71.817706] -1,
[ 71.817710] -1,
[ 71.817714] -1,
[ 71.817718] -1,
[ 71.817721] -1,
[ 71.817726] -1,
[ 71.817730] -1,

[ 71.817737] registerBases =
[ 71.817740] 0xFFBC0000,
[ 71.817745] 0x00000000,
[ 71.817749] 0x00000000,
[ 71.817753] 0x00000000,
[ 71.817758] 0x00000000,
[ 71.817762] 0x00000000,
[ 71.817767] 0x00000000,
[ 71.817771] 0x00000000,
[ 71.817775] 0x00000000,
[ 71.817779] 0x00000000,

[ 71.817786] registerSizes =
[ 71.817789] 0x00004000,
[ 71.817794] 0x00000000,
[ 71.817798] 0x00000000,
[ 71.817802] 0x00000000,
[ 71.817806] 0x00000000,
[ 71.817810] 0x00000000,
[ 71.817814] 0x00000000,
[ 71.817818] 0x00000000,
[ 71.817822] 0x00000000,
[ 71.817826] 0x00000000,

[ 71.817833] chipIDs =
[ 71.817836] 0xFFFFFFFF,
[ 71.817841] 0xFFFFFFFF,
[ 71.817845] 0xFFFFFFFF,
[ 71.817849] 0xFFFFFFFF,
[ 71.817853] 0xFFFFFFFF,
[ 71.817858] 0xFFFFFFFF,
[ 71.817862] 0xFFFFFFFF,
[ 71.817866] 0xFFFFFFFF,
[ 71.817870] 0xFFFFFFFF,
[ 71.817874] 0xFFFFFFFF,

[ 71.817883] core 0 internal sRAMBases =
[ 71.817886] 0xFFFFFFFFFFFFFFFF,
[ 71.817891] 0xFFFFFFFFFFFFFFFF,

[ 71.817899] core 1 internal sRAMBases =
[ 71.817902] 0xFFFFFFFFFFFFFFFF,
[ 71.817907] 0xFFFFFFFFFFFFFFFF,

[ 71.817915] core 2 internal sRAMBases =
[ 71.817918] 0xFFFFFFFFFFFFFFFF,
[ 71.817923] 0xFFFFFFFFFFFFFFFF,

[ 71.817931] core 3 internal sRAMBases =
[ 71.817934] 0xFFFFFFFFFFFFFFFF,
[ 71.817939] 0xFFFFFFFFFFFFFFFF,

[ 71.817946] core 4 internal sRAMBases =
[ 71.817949] 0xFFFFFFFFFFFFFFFF,
[ 71.817954] 0xFFFFFFFFFFFFFFFF,

[ 71.817962] core 5 internal sRAMBases =
[ 71.817965] 0xFFFFFFFFFFFFFFFF,
[ 71.817970] 0xFFFFFFFFFFFFFFFF,

[ 71.817985] core 6 internal sRAMBases =
[ 71.817995] 0xFFFFFFFFFFFFFFFF,
[ 71.818004] 0xFFFFFFFFFFFFFFFF,

[ 71.818013] core 7 internal sRAMBases =
[ 71.818016] 0xFFFFFFFFFFFFFFFF,
[ 71.818021] 0xFFFFFFFFFFFFFFFF,

[ 71.818030] core 8 internal sRAMBases =
[ 71.818033] 0xFFFFFFFFFFFFFFFF,
[ 71.818037] 0xFFFFFFFFFFFFFFFF,

[ 71.818045] core 9 internal sRAMBases =
[ 71.818049] 0xFFFFFFFFFFFFFFFF,
[ 71.818054] 0xFFFFFFFFFFFFFFFF,

[ 71.818061] External sRAMBases =
[ 71.818064] 0xffffffffffffffff,
[ 71.818069] 0xffffffffffffffff,

[ 71.818078] mmuPageTablePool = 1
[ 71.818083] mmuDynamicMap = 1
[ 71.818087] isrPoll = 0x00000000
[ 71.818091] Build options:
[ 71.818096] g c dGPU_TIMEOUT = 20000
[ 71.818100] g c dGPU_2D_TIMEOUT = 4000
[ 71.818104] g c dINTERRUPT_STATISTIC = 1
[ 71.819110] cma: cma_alloc(cma d19df0c6, count 1024, align 0)
[ 71.819138] cma: cma_alloc(): returned 18faa4e8
[ 71.823846] Galcore Info: ContiguousBase=0x7f95a000 ContiguousSize=0x400000
[ 71.829489] Galcore Info: MMU mapped core 0 SRAM[0] hardware virtual address=0x400000 size=0x40000
[ 71.829512] Galcore Info: MMU mapped core 0 SRAM[1] hardware virtual address=0x440000 size=0x40000
[ 71.831602] NN flop resetting…
[ 71.837272] galcore ffbc0000.npu: Init npu devfreq
[ 71.837310] galcore ffbc0000.npu: bin=0
[ 71.837355] galcore ffbc0000.npu: leakage=1.0
[ 71.849715] galcore ffbc0000.npu: temp=49300, pvtm=102154 (102154 + 0)
[ 71.850000] galcore ffbc0000.npu: pvtm-volt-sel=1
[ 71.850056] galcore ffbc0000.npu: bin-scale=23
[ 71.851120] galcore ffbc0000.npu: avs=0
[ 71.851618] galcore ffbc0000.npu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[ 71.851668] galcore ffbc0000.npu: failed to read out thermal zone (-22)
[ 71.851845] galcore ffbc0000.npu: failed to find power_model node
[ 71.851889] galcore ffbc0000.npu: failed to initialize power model`

想问一下这样是不是运行成功了?

我来回答
回答2个
时间排序
认可量排序

mylx2010

5个粉丝

6

问答

1

专栏

4

资料

mylx2010 2022-11-25 20:22:38
认可0

跑下示例,能正常就行。大佬自己在1126上移植的ubuntu?有教程分享一下吗?

hpj

3个粉丝

3

问答

1

专栏

0

资料

hpj 2022-11-29 13:06:10
认可0

看样子是运行成功了,但是npu报错了。

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区