about Uboot Console

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

about Uboot Console

Jump to solution
1,400 Views
liujialu_2024
Contributor III

In file "S32G2_LinuxBSP_42.0_Test_Specification.pdf"

always said that:

Check NCF_S0 register on the Uboot console
md.l 0x4030C080 1

for example in "6.1.2 Test Procedure"

Steps:
1. Boot to linux console
2. Run command to read the adc (need to run for a least a few day)
echo 1 > /sys/bus/iio/devices/iio:device0/scan_elements/in_voltage4_en
echo 4096 > /sys/bus/iio/devices/iio:device0/buffer/length
while :
do
echo 1 > /sys/bus/iio/devices/iio:device0/buffer/enable
hexdump -e '"iio0 :" 8/2 "%04x " "\n"' /dev/iio:device0 | head -512
echo One shot finished!
echo 0 > /sys/bus/iio/devices/iio:device0/buffer/enable
done
3. Check NCF_S0 register on the Uboot console
md.l 0x4030C080 1

In step 1, I'm already in Linux console, how can I check NCF_S0 register on the Uboot console? after reboot?

Tags (1)
0 Kudos
Reply
1 Solution
1,369 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @liujialu_2024 

Thanks for your post.

I do not think so, from my opinion, from step 3, I suggest checking the register status by using the devmem2 in Linux.

 

BR

Chenyin

View solution in original post

2 Replies
1,370 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @liujialu_2024 

Thanks for your post.

I do not think so, from my opinion, from step 3, I suggest checking the register status by using the devmem2 in Linux.

 

BR

Chenyin

1,366 Views
liujialu_2024
Contributor III
Thanks for devmem2, got it.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1981147%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eabout%20Uboot%20Console%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1981147%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIn%20file%20%22S32G2_LinuxBSP_42.0_Test_Specification.pdf%22%3C%2FP%3E%3CP%3Ealways%20said%20that%3A%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3ECheck%20NCF_S0%20register%20on%20the%20Uboot%20console%3CBR%20%2F%3Emd.l%200x4030C080%201%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3Efor%20example%20in%20%226.1.2%20Test%20Procedure%22%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3ESteps%3A%3CBR%20%2F%3E1.%20Boot%20to%20linux%20console%3CBR%20%2F%3E2.%20Run%20command%20to%20read%20the%20adc%20(need%20to%20run%20for%20a%20least%20a%20few%20day)%3CBR%20%2F%3Eecho%201%20%26gt%3B%20%2Fsys%2Fbus%2Fiio%2Fdevices%2Fiio%3Adevice0%2Fscan_elements%2Fin_voltage4_en%3CBR%20%2F%3Eecho%204096%20%26gt%3B%20%2Fsys%2Fbus%2Fiio%2Fdevices%2Fiio%3Adevice0%2Fbuffer%2Flength%3CBR%20%2F%3Ewhile%20%3A%3CBR%20%2F%3Edo%3CBR%20%2F%3Eecho%201%20%26gt%3B%20%2Fsys%2Fbus%2Fiio%2Fdevices%2Fiio%3Adevice0%2Fbuffer%2Fenable%3CBR%20%2F%3Ehexdump%20-e%20'%22iio0%20%3A%22%208%2F2%20%22%2504x%20%22%20%22%5Cn%22'%20%2Fdev%2Fiio%3Adevice0%20%7C%20head%20-512%3CBR%20%2F%3Eecho%20One%20shot%20finished!%3CBR%20%2F%3Eecho%200%20%26gt%3B%20%2Fsys%2Fbus%2Fiio%2Fdevices%2Fiio%3Adevice0%2Fbuffer%2Fenable%3CBR%20%2F%3Edone%3CBR%20%2F%3E3.%20Check%20NCF_S0%20register%20on%20the%20Uboot%20console%3CBR%20%2F%3Emd.l%200x4030C080%201%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3EIn%20step%201%2C%20I'm%20already%20in%20Linux%20console%2C%20how%20can%20I%20check%20NCF_S0%20register%20on%20the%20Uboot%20console%3F%20after%20reboot%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1982803%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20about%20Uboot%20Console%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1982803%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThanks%20for%20devmem2%2C%20got%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1982786%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20about%20Uboot%20Console%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1982786%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F75590%22%20target%3D%22_blank%22%3E%40liujialu_2024%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%3C%2FP%3E%0A%3CP%3EI%20do%20not%20think%20so%2C%20from%20my%20opinion%2C%20from%20step%203%2C%20I%20suggest%20checking%20the%20register%20status%20by%20using%20the%20devmem2%20in%20Linux.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E