Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A64 => Topic started by: ventosus on February 15, 2020, 12:47:04 PM

Title: uboot/kernel sources for Armbian_5.92.1_Olinuxino-a64_Debian_buster_next_5.2.5
Post by: ventosus on February 15, 2020, 12:47:04 PM
I'm trying to build a minimal image for a A64-OLinuXino-1Ge4GW + LCD-OLinuXino-7CTS with buildroot.

I'd like to base it off the official image [1]. That one comes with everything I need: LCD, backlight, touch, wifi.

But it is not clear where the uboot + kernel sources used to build that image are located. It seems not to be following upstream armbian. There seem to be applied some patches.

uboot I'm using this:

    repo:      https:/github/com/OLIMEX/u-boot.git
    branch:    olimex
    defconfig: A64-OLinuXino

This gives me an uboot which correctly initializes the LCD.

For kernel I'm using mainline with the kernel config from image [1]. But this gives me only a simple framebuffer. No backlight, touch, wifi.

    repo: mainline
    branch:5.2.5
    dts: allwinner/sun50i-a64-olinuxino

So I guess, you're using a special patched kernel repo somewhere ? I cannot find any information about it, though.

Would be glad for some hints where to find those.

    repo:      ?
    branch:    ?
    defconfig: ?
    dts:       ?

[1] ftp://staging.olimex.com/Allwinner_Images/a64-olinuxino/linux/1.latest_images/buster/images/Armbian_5.92.1_Olinuxino-a64_Debian_buster_next_5.2.5.7z
Title: Re: uboot/kernel sources for Armbian_5.92.1_Olinuxino-a64_Debian_buster_next_5.2.5
Post by: LubOlimex on February 17, 2020, 08:17:50 AM
It is described here: ftp://staging.olimex.com/Allwinner_Images/a64-olinuxino/linux/README.txt

How to build latest images:

git clone --branch olimex https://github.com/olimex/build
cd build

touch .ignore_changes

./compile.sh

Also check here: https://www.olimex.com/wiki/ArmbianHowTo#Building_image
Title: Re: uboot/kernel sources for Armbian_5.92.1_Olinuxino-a64_Debian_buster_next_5.2.5
Post by: ventosus on February 17, 2020, 03:53:35 PM
@LubOlimex awesome, thanks, this should get me going