I have tried following the khadas docs to build a linux distribution. I built a u-boot first, and got stuck when building the linux kernel ffrom the khadas/linux in github. So I downloaded a different kernel source from another site and built the kernel. Then downloaded a prebuilt image of ubuntu from the link in the docs, but the kernel is different as the downloaded image had a kernel within itself.
I need help to flash a USB drive with the u-boot and the image and install linux on an Android box. I need help on this issue.
okay. Another doubt: Can you please share the directory structure to be set for the bootloader, ramdisk, rootfs and steps to create the final image and flashing onto the box with sd card. I am newbie. Hope you understand.
You can follow this to build the bootloader and ramdisk. Also you can follow this to create the roots.
About packing the final image,you can follow this
It is only support to flash the image onto the box with usb
in this link, Do I need to create a single folder and clone all the repositories one by one to the same folder or should I follow as in the doc: first get clone u-boot, go to u-boot dir, then build the bootloader, without going back, clone the linux repo to this directory and then build the linux kernel, and build the ramfs into the same disk?
In the preparations, Do I need to modify some parameters using the USB to TTL debug board to access the U-boot in Android Box? or just use the pacakges necessary for the installation?
I haven’t still got the issues resolved. What I have is a boot.img, and a rootfs.img. I am still stuck at getting both the images onto an SD card as a single image file and install on the Android box. Please let me know, how can I continue from here. I tried all the links. But couldn’t find the /aml_upgrade_package.conf or the upgrade or the update.img from this link