U-boot PVT Notes

From Studio Kousagi Wiki
Revision as of 02:52, 2 April 2015 by Xobs (talk | contribs) (Deploying)
Jump to: navigation, search

Building

 git clone https://github.com/xobs/u-boot-novena.git
 cd u-boot-novena
 make novena_config   # sets up u-boot for novena configuration
 make -j3

Note: If you edit include/configs/novena.h, you should run "make novena_config" again.

Deploying

To install the primary U-Boot image, copy u-boot.img to /boot/. You do not need to do anything further.

To install the SPL image, you need to copy the file "SPL" to an offset 1024 bytes from the start of the disk. If you're running on Novena, use "novena-install-spl". See "man novena-install-spl" for more information. Otherwise, use dd:

sudo dd if="SPL" of="/dev/disk/by-path/platform-2198000.usdhc" bs=1024 seek=1 conv=notrunc