hansemro / kc1-linux

Documentation of mainline Linux on First Generation Kindle Fire
GNU General Public License v2.0
4 stars 0 forks source link

Add script to generate Android boot image with device tree #1

Closed hansemro closed 3 years ago

hansemro commented 3 years ago

Such a script will help avoid loading the device tree and kernel manually via U-Boot console commands.

Initial work is being done at scripts_dev branch. While the kernel is able to boot with the device tree loaded, the kernel does not get as far as with manual u-boot boot commands.

hansemro commented 3 years ago

log.txt

hansemro commented 3 years ago

log.txt Issue was related to bad device tree with the following:

&mmc2 {
    pinctrl-names = "default";
    pinctrl-0 = <&mmc2_pins>;
    ti,hwmods = "mmc2";
    vmmc-supply = <&vaux1>;
    ti,non-removable;
    bus-width = <8>;
};

Commenting the line with ti,hwmods = "mmc2"; fixes booting via Android boot image (with device tree).