how to generate boot.img
Posted: Fri Nov 30, 2018 5:54 am
Hi there,
I would like to generate boot.img, however any time I do generate boot.img the sdcard doesn't work.
If I do the following to build the boot.img :
It generates the boot.img as expected, however sd_fuse-rk3399/fusing.sh doesn't generate a usable sd card.
If I replace boot.img with the original boot.img, the sdcard boots and works well.
If I build the kernel.img and resource.img files using the following command :
I can use sd_fuse-rk3399 with these images, and the sd card will boot as expected and works well.
What is the magic to build the boot.img ?
thanks
Matt
I would like to generate boot.img, however any time I do generate boot.img the sdcard doesn't work.
If I do the following to build the boot.img :
Code: Select all
git clone https://github.com/friendlyarm/kernel-rockchip --depth 1 -b nanopi4-linux-v4.4.y kernel-rockchip
cd kernel-rockchip
make nanopi4_linux_defconfig
make rk3399-nanopi4-rev04.img
It generates the boot.img as expected, however sd_fuse-rk3399/fusing.sh doesn't generate a usable sd card.
If I replace boot.img with the original boot.img, the sdcard boots and works well.
If I build the kernel.img and resource.img files using the following command :
Code: Select all
make nanopi4-images
I can use sd_fuse-rk3399 with these images, and the sd card will boot as expected and works well.
What is the magic to build the boot.img ?
thanks
Matt