@msteed
Quote:
I think you should only execute config-l@ once, not twice. When you execute it the second time it takes the value that the first execution left on the stack (the result you're trying to see) as the address to report on, which is not what you want (and may be why you're getting strange results). You should just do:
16 config-l@ .
It's strangely return 0, does not matter where i am in : in /pci/ , or in /pci/pci@7 (in bridge), see:
ok cd /pci
ok pwd
/pci@80000000
ok 16 config-l@ .
0
ok cd pci@7
ok pwd
/pci@80000000/pci@7
ok 16 config-l@ .
0
ok
At first i think that maybe it's exactly issue in bridge, but then the same happens if i go to any pci based directory, always zero..
Quote:
If you get 1F then they're being interpreted as hex.
Thanks for point, it is Hex:
ok 20 1 - .
1F
ok