How do I burn a kernel image on a running machine db410c


#1

Hey everyone,

How do I burn a kernel image on a running machine on the fly (without fastboot) ?

Here is what I did that didn’t work:

Burned an aboot (Little Kernel), and a boot.img with my debug prints on them to verify it is mine, and a rootfs. All based on the official release site.

Installed the linux-image-4.2.0-linaro-lt-qcom_4.2.0-linaro-lt-qcom-1_arm64.deb from the release site:


# dpkg -i linux-image-4.2.0-linaro-lt-qcom_4.2.0-linaro-lt-qcom-1_arm64.deb

(Reading database ... 95643 files and directories currently installed.)
Preparing to unpack linux-image-4.2.0-linaro-lt-qcom_4.2.0-linaro-lt-qcom-1_arm64.deb ...
Unpacking linux-image-4.2.0-linaro-lt-qcom (4.2.0-linaro-lt-qcom-1) over (4.2.0-linaro-lt-qcom-1) ...
Setting up linux-image-4.2.0-linaro-lt-qcom (4.2.0-linaro-lt-qcom-1) ...
update-initramfs: Generating /boot/initrd.img-4.2.0-linaro-lt-qcom
Warning: root device  does not exist

Press Ctrl-C to abort build, or Enter to continue

Ignoring old or unknown version 4.2.0-linaro-lt-qcom (latest is )


#2

hi,

can you please have a look at

you will need to adjust some filenames, but that should work.


#3

Thanks,

dd works well…


#4

I would like to change the partition table.

I can see a script called flashall which burns a couple of partitions, one of them is called gpt_both0.bin, I can presume it is the one I need to create my own partition table.

How do I create that file ?