johnvast.blogg.se

U boot manual
U boot manual








u boot manual

If you are using the sunxi kernel, you need to install script.bin to the boot partition:Ĭp /home/user/dir/sunxi-boards/sys_config/aXX/script.bin /mnt device tree binary (for upstream kernel) Now you can install your built kernel into the boot partition:Ĭp /home/user/dir/linux-sunxi/arch/arm/boot/uImage /mnt Install board description script.bin (for sunxi kernel) Refer to our SD-Card bootloader installation howto.įollow instructions to set up either mainline or legacy sunxi U-Boot: Remember to also build the device tree binaries. Please refer to our upstream kernel howto. Please refer to our Kernel compilation guide. To build script.bin follow our guide to building script.bin. The sunxi kernel depends on Allwinners own hardware description file, called script.bin, which needs to be loaded into memory by the bootloader so that the kernel can access it. Build the kernel Sunxi/Legacy kernel Build script.bin Some information presented on this page needs to be adjusted accordingly - especially bootm_boot_mode could be important in that case. If you intend to boot older 3.4.x kernels with mainline U-Boot, make sure you also understand its boot configuration. If your device is supported by upstream/mainline U-Boot, you should probably use that instead.įollow these instructions to create u-boot-sunxi-with-spl.bin.

u boot manual

The installation to SD card is covered in Bootable_SD_card#Bootloader. When the build has completed, there will be spl/sunxi-spl.bin and u-boot.img available in your U-Boot tree. To build the kernel you may need some additional packages:Īpt-get install flex bison Build U-Boot Sunxi/Legacy U-Boot 4.8 Unmount your boot or root partitionįor this part, you need to refer to our toolchain page.4.7.2 device tree binary (for upstream kernel).










U boot manual