|
Edited by igorpec at 2015-1-25 15:00
Here is my script:
https://github.com/igorpecovnik/BananaPI-Debian
Maybe a bit more complex but it has more value and advantages then others.
It download sources, compile and creates .deb packed kernel + headers + libc. You can boot it also with mainline u-boot and you can build your own modules on the system.
If you run it as nonroot, you can compile kernel+uboot (ignore a lot of errors), with root (no errors) you get out an raw boot ready image with desired system (wheezy, jessie, ubuntu trusty).
Note that kernel is gzip compressed which is not default for old / standard installations. You can either convert it to uImage or use new bootloader with proper u-boot scripts.
|
|