[LEDE-DEV] [PATCH 00/13] sunxi: upgrade to kernel 4.9 and add A64 support
Lucian Cristian
luci at createc.ro
Mon Aug 7 09:47:18 PDT 2017
On 07.08.2017 19:43, Hauke Mehrtens wrote:
>
> On 08/07/2017 06:13 PM, Lucian Cristian wrote:
>> On 07.08.2017 18:55, Hauke Mehrtens wrote:
>>> On 08/06/2017 08:16 PM, Lucian Cristian wrote:
>>>> On 04.08.2017 00:37, Hauke Mehrtens wrote:
>>>>> This upgrades the target to kernel 4.9 and also adds support for the
>>>>> Allwinner A64 SoC. This was only tested on the pine64+ and I do not own
>>>>> any older Allwinner SoC.
>>>>>
>>>>> Could someone please test this on an older 32 bit Allwinner SoC and
>>>>> report back some results.
>>>>>
>>>>> Hauke Mehrtens (13):
>>>>> kernel: add some config options
>>>>> sunix: add support for kernel 4.9
>>>>> include: u-boot.mk: remove LEDE HOSTCPPFLAGS from u-boot
>>>>> HOSTCPPFLAGS
>>>>> uboot-sunxi: update to version 2017.07
>>>>> uboot-sunxi: do not depend on dtc being install on host
>>>>> uboot-sunxi: revert the usage of binman
>>>>> sunxi: fix build of rtc package when module not available
>>>>> sunxi: split into cortex A8 and A7 subtarget
>>>>> arm-trusted-firmware-sunxi: add new package
>>>>> uboot-sunxi: build A64 SoC and pine64 U-Boot
>>>>> sunxi: Backport patches needed for A64
>>>>> sunxi: Backport patches from kernel 4.11 for A64
>>>>> sunxi: Add A64 support with cortex53 subtarget
>>>>>
>>>>> ...
>>>> On LIME2 I get the attached boot log
>>>>
>>>>
>>>> Regards
>>> Hi Lucian,
>>>
>>> Thanks you for testing. Could you send me your patch you applied to add
>>> LIME2 please.
>>>
>>> It looks like executing the init binary failed, could you try to only
>>> apply my patches till "sunxi: fix build of rtc package when module not
>>> available" please, I assume the subtarget split is somehow not working.
>>>
>>> Hauke
>> I just added to the image/cortex-a7.mk, and no more dts patching like on
>> 4.4
>>
>> define Device/sun7i-a20-olinuxino-lime2
>> DEVICE_TITLE:=Olimex A20-OLinuXino-LIME2
>> DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
>> SUPPORTED_DEVICES:=olimex,a20-olinuxino-lime2
>> SUNXI_DTS:=sun7i-a20-olinuxino-lime2
>> endef
>>
>> TARGET_DEVICES += sun7i-a20-olinuxino-lime2
>>
>>
>> and for uboot patch from here
>>
>> https://github.com/lucize/source/commit/325304c62dd8f6ef1b82b94873397c31226a6f88#diff-1ab1035312dfd60272886d810ef44e7f
>>
>>
>> I actually own an eMMC version, tried that too, but is the same, for
>> eMMC uboot needs this
>>
>> https://github.com/armbian/build/blob/master/patch/u-boot/u-boot-sunxi/add-lime2-emmc.patch
>>
>>
>> I'll try without the split
>>
>> Regards
>>
> Hi Lucian,
>
> The eMMC version needs an extra device tree file, could you please use
> this one:
> arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts
>
> We should probably add two device one for the normal lime2 and one
> lime2-emmc.
>
> Hauke
Yes, I know, on 4.4 it worked with or without emmc dts, but since it
wasn't merged I didn't made a patch for eMMC version, I'll return with
output asap
Regards
More information about the Lede-dev
mailing list