WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Sources and Build Scripts x86/x64  (Read 5371 times)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1264
Re: Sources and Build Scripts x86/x64
« Reply #60 on: November 11, 2024, 11:17:50 AM »
piCore defconfigs come from Rasperry pi.  Typically things like onboard ethernet and USB controllers are compiled into the kernel.  These are the 5 kernels built.

armv6) DEFCONFIG=bcmrpi_defconfig;;
armv7) DEFCONFIG=bcm2709_defconfig;;
armv7l) DEFCONFIG=bcm2711_defconfig;;
armv8) DEFCONFIG=bcm2711_defconfig;;
armv8_16k) DEFCONFIG=bcm2712_defconfig;;

It was based on the sorter.sh.  But I use something local due to the way I build the kernel module extensions. I have a different initrd module list for each of the architectures,  I had to make it separate since the initrd's had drastically different modules.  They are now quite similar, if you are building around sorter.sh, that will work, but likely you will need to have

sorter_armv6
sorter_armv7
...etc..

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 776
Re: Sources and Build Scripts x86/x64
« Reply #61 on: November 11, 2024, 07:58:24 PM »
...But I use something local due to the way I build the kernel module extensions...
That's what I figured (thus why I asked) as I didn't see anything in GIT or on the repo that hints to how we're managing builds and modules for piCore.
Having separate "sorter" routines for 86/64/a6/a7/a8 would probably be the only sensible direction, but the same is said about kernel .config files, so it's just a matter of adding another platform file.

Once the kernel template is finished I'll send you an invite.

Thanks!