LS1028 devmem issue

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

LS1028 devmem issue

Jump to solution
908 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
875 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
876 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
%3CLINGO-SUB%20id%3D%22lingo-sub-2025897%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELS1028%20devmem%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2025897%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20802.1%20Qbu%20test%20on%20LS1028ARDB%20as%20described%20under%20LSDK%20User%20Guide%20(Rev.%3CBR%20%2F%3E21.08%2C%2005%20September%202022).%20Since%20the%20rootfs%20didn't%20have%20devmem%2C%20I%20have%3CBR%20%2F%3Einstalled%20devmem2%20from%20APT.%3C%2FP%3E%3CP%3EI%20am%20getting%20following%20error%20when%20executing%20following%20command%3CBR%20%2F%3Eto%20set%20the%20switch%20to%20enable%20merge%3A%20(page%201076%20of%20the%20user%20guide)%3C%2FP%3E%3CP%3E~%23%20devmem2%200x1fc100048%2032%200x111%3CBR%20%2F%3E%2Fdev%2Fmem%20opened.%3CBR%20%2F%3EMemory%20mapped%20at%20address%200xffffb5ab3000.%3CBR%20%2F%3EIllegal%20data%20type%20'3'.%3C%2FP%3E%3CP%3EHow%20can%20I%20install%20devmem%3F%20Or%20is%20there%20another%20tool%3F%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3EAbraham%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2027526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LS1028%20devmem%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2027526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20correct%20command%20using%20devmem2%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20devmem2%200x1fc100048%20w%200x111%3C%2FP%3E%3CP%3EHope%20this%20helps%20someone%20in%20future.%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EAbraham%3C%2FP%3E%3C%2FLINGO-BODY%3E