At this point DTSes differ between d1/wip branch of the kernel
and corresponding branch of u-boot. Mangopi-MQ-Pro dts is missed in
u-boot part which leads to missing devices nodes (bluetooth in
particular). Sync dts and pin patch to mangopi only to not affect Nezha.
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Use SOC name (Allwinner D1) instead of board name for
generic recipes.
Move board specific configuration to corresponding machine conf
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
It is not intended for all kind of machines by default, other machines
can be enabled as needed and verified to work on it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Based on Nezha D1 machine config with addjusterd DTB configuration
and added wifi module driver.
Tested with core-image-(base|weston) on MangoPi MQ Pro rev 1.3:
- HDMI output/weston and wifi are working. USB-C ethernet detected but not
tested due to lack of HW.
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
One of the other branches of Samuel Holland's kernel tree for the nezha
includes everything the current branch includes plus a defconfig. Using this
branch will keep our defconfig inline with the author's changes.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
We don't need to specify OpenSBI in EXTRA_IMAGEDEPENDS to ensure it's
built and if we specify it we get circular dependencies with the u-boot
RSA signing code, so let's drop it.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
If start address ($a1) is not 8-byte aligned, the system will hang in
fw_platform_init where OpenSBI starts to parse fdt, thus need this patch
to adjust the address in SPL.
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
OE-Core is using OpenSBI tag v1.1, this revision is based to v1.1 while
includes fdt driver support for AE350 platform so it can use with the
latest device tree provided by Andes Linux kernel 6.0.
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
We rebased drivers on 5.18 and adds WDT and SMU drivers
support to this 6.0 branch, and updated the compatible
string for PLMT and PLICSW.
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
The needed rv32 patch is available in libc 1.128+ upstream and now
cryptography 0.38 release has bumped its libc dependency from 1.124 ->
1.135 which should include this patch, therefore drop it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
ae350-ax45mp was using U-boot v2022.07 with the applied patches:
- (f4512618caa0) riscv: ae350: Fix XIP config boot failure
- (aa0eda17cf98) spl: opensbi: convert scratch options to config
Since OE-Core U-boot has upgraded to v2022.10 which includes both
patches so we can drop them.
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Drop lld patch, lld has implemented relaxation now in clang 15.x
which is default in master meta-clang, therefore this patch is no
longer needed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
u-boot common files set O=.. option for make which actually
sets KBUILD_SRC, which triggers a step in u-boot system called
prepare3. This step checks if make has been run inside sourcedir
and since we are setting O=${B} and B is set to S, it has run
inside S during do_configure, so do_compile fails to build e.g.
| /mnt/b/yoe/master/build/tmp/work/visionfive-yoe-linux/u-boot-starfive/v2021.04-r0/git is not clean, please run 'make mrproper'
| in the '/mnt/b/yoe/master/build/tmp/work/visionfive-yoe-linux/u-boot-starfive/v2021.04-r0/git' directory.
Signed-off-by: Khem Raj <raj.khem@gmail.com>