|
Well, maybe first read at https://linux-sunxi.org/Mainline_U-boot
For compiling it for the OrangePI plus use:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- orangepi_plus_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
For compiling it for the OrangePI PC use:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- orangepi_pc_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
If you compile it on the device itself you don't need to define ARCH and CROSS_COMPILE use only make orangepi_plus_defconfig or make orangepi_pc_defconfig
restrictions?
well, if you want to boot an "old" 3.4 kernel then it works not out of the box. You need to make some "adjustment".
I have not tried yet to boot a legacy 3.4 kernel for the H3 with the mainline u-boot. |
|