LS1028 devmem issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1028 devmem issue

跳至解决方案
688 次查看
akjac
Contributor I

Hi,

I am trying 802.1 Qbu test on LS1028ARDB as described under LSDK User Guide (Rev.
21.08, 05 September 2022). Since the rootfs didn't have devmem, I have
installed devmem2 from APT.

I am getting following error when executing following command
to set the switch to enable merge: (page 1076 of the user guide)

~# devmem2 0x1fc100048 32 0x111
/dev/mem opened.
Memory mapped at address 0xffffb5ab3000.
Illegal data type '3'.

How can I install devmem? Or is there another tool?

Thanks,
Abraham

标记 (2)
0 项奖励
回复
1 解答
655 次查看
akjac
Contributor I

The correct command using devmem2 is:

  devmem2 0x1fc100048 w 0x111

Hope this helps someone in future.

Thanks,

Abraham

在原帖中查看解决方案

0 项奖励
回复
1 回复
656 次查看
akjac
Contributor I

The correct command using devmem2 is:

  devmem2 0x1fc100048 w 0x111

Hope this helps someone in future.

Thanks,

Abraham

0 项奖励
回复