pcDuino3b unable to boot due to faulty default boot.scr

Discussion about U-Boot and the kernel.

pcDuino3b unable to boot due to faulty default boot.scr

Postby pvl1 » Thu Jan 19, 2017 4:07 am

Hi everyone,
this is due to my setup where i have /boot on partition number 3 on a sata drive.
the default install on the arch arm for the pcDuino3
instructs to download $this->bbcode_second_pass_code('', 'http://os.archlinuxarm.org/os/sunxi/boot/pcduino3/boot.scr') which a cat meows
$this->bbcode_second_pass_code('', '
/tmp%cat boot.scr [130]
'V¬YGX|Då^{U-Boot boot scriptÝpart uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait

if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
bootz ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi

if load ${devtype} ${devnum}:${bootpart} 0x48000000 /boot/uImage; then
if load ${devtype} ${devnum}:${bootpart} 0x43000000 /boot/script.bin; then
setenv bootm_boot_mode sec;
bootm 0x48000000;
fi;
fi
')
it seems that uboot sets distro_bootpart instead of bootpart
but you can setenv bootpart # and then saveenv
pvl1
 
Posts: 3
Joined: Thu Jan 19, 2017 3:53 am

Re: pcDuino3b unable to boot due to faulty default boot.scr

Postby fboldog » Sun Feb 26, 2017 9:36 pm

Hi,

for booting you need the pcDuino3 Nano files from there:
http://os.archlinuxarm.org/os/sunxi/boot/pcduino3-nano/

I using my board with this files.

Important:
U-Boot bootloader package for the pcDuino3B is uboot-pcduino3-nano.
fboldog
 
Posts: 1
Joined: Sun Feb 26, 2017 9:23 pm


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 9 guests