LS1028 devmem issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1028 devmem issue

Jump to solution
675 Views
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

Tags (2)
0 Kudos
Reply
1 Solution
642 Views
akjac
Contributor I

The correct command using devmem2 is:

  devmem2 0x1fc100048 w 0x111

Hope this helps someone in future.

Thanks,

Abraham

View solution in original post

0 Kudos
Reply
1 Reply
643 Views
akjac
Contributor I

The correct command using devmem2 is:

  devmem2 0x1fc100048 w 0x111

Hope this helps someone in future.

Thanks,

Abraham

0 Kudos
Reply