I am running the ubuntu version of OS, i.e. installed it on 410c board from an uSD card while using the
dragonboard410c_sdcard_install_ubuntu-102.zip installation package.
It worked as expected (i.e. great :)).
Now, I would like to replace the given Linux kernel with a version which I have compiled
following the instructions from https://github.com/96boards/documentation/wiki/Dragonboard-410c-Boot-Image
The last command, i.e.
make O=build-${ARCH} -j4 Image dtbs
generated both the “boot/Image” and “boot/dts/qcom”
Then I used the “dtbTool -o dt.img -s 2048 $KDIR/arch/arm64/boot/dts/qcom/”
to make the “dt.img”.
Finally I used
export cmdline=“root=/dev/disk/by-partlabel/rootfs rw rootwait console=ttyMSM0,1
15200n8”
and
mkbootimg --kernel $KDIR/arch/arm64/boot/Image
–ramdisk $RDIR/initrd.img-4.2.0-linaro-lt-qcom
–output boot.img
–dt dt.img
–pagesize 2048
–base 0x80000000
–cmdline “$cmdline”
As a result the “boot.img” was generated.
I have mounted the previously used uSD card, and have found the “ubuntu/boot.img”.
Then I have replaced it with my own version, generated as specified above.
The new “installation uSD card” works as well as previously, but after removing the uSD card
the system did not boot.
Any suggestion how should I proceed with the (mere) replacement of the used Linux kernel?
… it seems, that the above steps may not be needed at all, but I don’t understand their
importance.
Thanks,
-zenon