Yes, of couse.
1. connect CF-card to linux
check dmesg to find out name of device (sdb or sdc generally).
2. run debugfs
"open /dev/sdb1"
"stat /boot/zImage.tree.initrd.map"
save value near "Blocks" (M1)
"close"
"open /dev/sdb2"
"stat /boot/zImage.tree.initrd.map"
save value near "Blocks" (M2)
"close"
quit
3. run "fdisk -lu"
save begins of sdb1 and sdb2 (S1, S2) (for sdb1 it will be 63)
4. calculate
M1*8+S1 = O1 (decimal) - > convert to Hex
M2*8+S2 = O2 (decimal) -> convert to Hex
5. run switch, esc autoboot, 3--bootrom
printenv
Now find OSLoader var, smth like "ATA()0x9003f;ATA()0x19ae58"
6. replace to calculated O1, O2 in hex
setenv OSLoader "ATA()0xO1;ATA()0xO2"
saveenv
reboot
1. connect CF-card to linux
check dmesg to find out name of device (sdb or sdc generally).
2. run debugfs
"open /dev/sdb1"
"stat /boot/zImage.tree.initrd.map"
save value near "Blocks" (M1)
"close"
"open /dev/sdb2"
"stat /boot/zImage.tree.initrd.map"
save value near "Blocks" (M2)
"close"
quit
3. run "fdisk -lu"
save begins of sdb1 and sdb2 (S1, S2) (for sdb1 it will be 63)
4. calculate
M1*8+S1 = O1 (decimal) - > convert to Hex
M2*8+S2 = O2 (decimal) -> convert to Hex
5. run switch, esc autoboot, 3--bootrom
printenv
Now find OSLoader var, smth like "ATA()0x9003f;ATA()0x19ae58"
6. replace to calculated O1, O2 in hex
setenv OSLoader "ATA()0xO1;ATA()0xO2"
saveenv
reboot
Last edited: