1981147_en-US

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

1981147_en-US

1981147_en-US

about Uboot Console

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?

Re: about Uboot ConsoleThanks for devmem2, got it.Re: about Uboot Console

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

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 03:50 PM
Updated by: