[help] Trying to build a close to mainline image
#5
If you're using the "stable" kernel, then that is true mainline, which has very little support for the A64 SoC. It'll boot, but absolutely none of the interfaces other than UART will work. Apritzel's a64-v5 tree (found on the Pine mainline kernel page you linked) has support for Ethernet in conjunction with the aforementioned firmware image. The tree I suggested, Icenowy's a64-usb, adds on functioning USB (on the bottom port. Top one is USB OTG which no one has tackled yet...) to that.

The DTB (Device Tree Blob) files, just like you said, describe the devices and where/how to control them. You could try to use the ones that come with the firmware, but I've had issues from reusing old DTBs with new kernels. Since you can build them at the same time as you build the kernel, there's really no reason to not use your own.

On this firmware version, the kernel goes on the root directory. If we were working with a BSP kernel-based image, we'd put it in /boot.

Technically, you can set the boot script to look for the rootfs on any partition. However, when I did that, I got a checksum error from uboot. So I just ended up going along with the default p5. If you manage to get it to boot with a different partition set, I'd definitely love to know! Smile

I'm not a believer either; was just making a joke. Though you should know that if you do not pray to the lord and savior Linus Torvalds in hopes of him blessing a kernel compile, It's bound to fail! Wink

If you're going to be doing kernel work on the Pine or any other embedded/SBC system, you should really get a UART adapter. They're cheap and unbelievably useful...
Community administrator and sysadmin for PINE64
(Translation: If something breaks on the website, forum, or chat network, I'm a good person to yell at about it)

  Reply


Messages In This Thread
RE: [help] Trying to build a close to mainline image - by fire219 - 08-04-2016, 07:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine64 Debian Stretch/mainline [4.14.7] CallMeFoxie 50 122,842 07-22-2019, 09:24 PM
Last Post: amp
  Script to build pure Debian images for Pine64+ amp 1 4,283 05-01-2019, 09:09 PM
Last Post: tllim
  Is there just one fuctioning Debian Desktop image? KNERD 7 13,331 03-29-2019, 02:00 AM
Last Post: desai_amogh
Question A64+ vs. A64-LTS - Build boots? Baldnerd 10 13,780 09-05-2018, 11:48 PM
Last Post: tllim
  Gambas3 installation on Debian image linusky 0 2,250 11-29-2016, 11:10 AM
Last Post: linusky
  Very long boot time with Debian image Xabaras76 5 7,430 07-14-2016, 03:49 PM
Last Post: Xabaras76
  Cannot install Dstat on Debian Base PineA64 image ywoody 6 7,780 07-11-2016, 07:15 PM
Last Post: dkryder
  Image without Guu WhiteSnake86 1 2,957 07-06-2016, 11:11 PM
Last Post: MarkHaysHarris777
  Pine64 not booting with image m16bishop 9 10,163 06-13-2016, 10:50 AM
Last Post: robertvaldimarsson
  dose the debian-mate-jessie-lenny.raposo image support lcd display? MicroDiery 1 2,970 06-03-2016, 07:59 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)