Orangepi2/plus2/PC H3 Linux mainline support 看全部

Any news on what works or not with the mainline kernel? Last time I tried around April it could boot with only a single core running at a reduced clock speed, no wifi or ethernet.
  • 17# faddat
  • 2015-10-15 20:37:35
pgauret:

Can you possibly send me the exact commands you used to build it?  There's someone here working full time on exactly that problem.  Any information on how to get the thing to compile and from there how to get a booting Opi would be very greatly appreciated.  

Jake
faddat@gmail.com
skype: faddat
tox: 9650AB1C5326656D2DFD99710353F4FA514B82425E6A0ED7864AD5843D307E3886AF752828D7
Edited by pgauret at 2015-10-16 03:00

Here are the commands I used. Please note that I didn't manage to build a working u-boot then, there has been a few H3 related commits since, maybe doable now.
Maybe worth mentioning I manually applied the patches from Jens Kuske as they were not yet mainlined when I tried. However not sure of status today, seems only some of the patchset made it to the mainline.

http://lists.infradead.org/piper ... 015-May/343930.html

  1. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- multi_v7_defconfig
  2. make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x40008000 uImage dtbs
  3. cp arch/arm/boot/zImage arch/arm/boot/zImage-without-dtb
  4. cat arch/arm/boot/zImage arch/arm/boot/dts/sun8i-h3-orangepi-plus.dtb > arch/arm/boot/zImage-with-dtb
  5. cp arch/arm/boot/zImage-with-dtb zImage
  6. make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x40008000 uImage
  7. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules
  8. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules_install

  • 19# faddat
  • 2015-10-16 07:42:00
Many thanks!  If anyone else is working on this, I'd love to see how you're triggering the build, also!

(your equivalent code)

Should know in about ten minutes....

  • 20# elcct
  • 2015-10-16 23:08:42
How can I download these patches?
1 ..2345.. 20NextPage