about Uboot Console

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

about Uboot Console

Jump to solution
1,408 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,377 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,378 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,374 Views
liujialu_2024
Contributor III
Thanks for devmem2, got it.
0 Kudos
Reply