Commit Graph

98 Commits

Author SHA1 Message Date
Leon Anavi
512fed3281 u-boot_%.bbappend: Fix for sun9i
Temporary revert commit ffb0294 from 12 Nov 2023 for device with
Allwinner A80 SoC (aka sun9i):

sunxi: board: simplify early PMIC setup conditions

On Merrii A80 Optimus this git commit causes U-Boot to hang at:

Starting kernel ...

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-10 00:09:55 +02:00
Leon Anavi
33428d8c22 sun9i.inc: Add SoC family sun9i
Create SoC family sun9i for machines with Allwinner A80 that are
supported by mainline U-Boot and mainline Linux kernel.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-10 00:04:40 +02:00
Marek Belisko
75f21bc538 u-boot: boot.cmd: Use allwinner prefix for dtb
To avoid patching u-boot configs for all machines update prefix for all arm machines.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2023-10-24 13:13:53 +02:00
Anne Macedo
5dcf6c40d4 add u-boot ethernet support to orange pi one plus (h6)
This patch adds ethernet support to orange pi one plus. The patch has
been submitted to the mailing list and is being added to the bbappend
for u-boot.

Unfortunately, is doesn't keep ethernet on after kernel boot, as the
kernel dts needs to be synced with the u-boot dts.

Submitted patch waiting for approval on the upstream: https://lore.kernel.org/u-boot/30debca8b31ed4d2cbd64850d48b81ac@posteo.net/T/#t
2023-07-12 08:11:36 -03:00
Marek Belisko
ea627f0920 Fix booting for orange-pi-one-plus machine
Use proper config for ATF.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2023-07-04 15:09:36 +02:00
Anne Macedo
cd266517ee Fixes Upstream-Status lines in a few u-boot patches
Fixes #384

Signed-off-by: Anne Macedo <retpolanne@posteo.net>
2023-07-03 09:30:11 -03:00
Jon Mason
7ab8fb6211 atf: convert to use meta-arm trusted-firmware-a recipe
Instead of using and maintaining a unique recipe for trusted-firmware-a
(formerly known as ARM trusted firmware, or ATF), use the recipe located
in meta-arm.  It is well maintained and in use in multiple other layers.

Tested with pine64-plus

Signed-off-by: Jon Mason <jdmason@kudzu.us>
2023-05-24 11:44:53 -04:00
Marek Belisko
c67912122c u-boot: Added custom boot.cmd
For bananapi emmc is on mmc2 not mmc1

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2023-05-11 13:09:44 +02:00
Marek Belisko
7b951191fb atf: Use for all devices not only for H616
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2023-05-11 13:09:44 +02:00
pbiel
54a4db9b55 Fix ATF warnings caused by the chanages introduced in binutils 2.39. 2023-03-16 09:50:30 +01:00
mpromonet
bb5817fe0e sunxi: add cam support to nanopi-neo-air
Signed-off-by: mpromonet <michel.promonet@free.fr>
2022-10-10 19:29:12 +02:00
Christophe Blaess
90189dae67 Fix LICENSE field of some recipes to correspond to Poky ones. 2022-09-09 14:00:13 +02:00
Marek Belisko
f3bbe9f079 u-boot: Fix booting issues for 64bit boards
In kirkstone we use u-boot 2022.01 which added as mandatory usage of scp.
As it's used for power relates stuff and we don't need it atm set to to empty.

Without this fix generated u-boot cannot boot.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2022-08-24 14:06:15 +02:00
Marek Belisko
3b798310df u-boot: Added patch for adding nanopi r1 machine support
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2022-04-21 09:27:38 +02:00
Marek Belisko
4735c7766f atf-sunxi: Fix warnings
Fix license and protocol for fetching

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2022-04-21 09:17:54 +02:00
Marek Belisko
b122bfc272 u-boot: Refresh path
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2022-04-13 09:31:24 +02:00
Marek Belisko
752f632e98 atf-sunxi: Fix build issue
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2022-04-13 09:31:07 +02:00
Alexey Brodkin
6ece692e9b sunxi-boards: Bump version
For some reason it was not updated since 2015 and
there seem to be quite some changes in the repo.

Also switch protocol for getting sources from GitHub
from git to https to get rid of the bitbake warning.

Signed-off-by: Alexey Brodkin <alexey.brodkin@gmail.com>
2022-01-04 20:21:07 +03:00
Clément Péron
545d824ccf atf-sunxi: fix new syntax 2022-01-02 21:46:06 +01:00
Clément Péron
a508443f52 recipes: use github https and specify master branch to fix warnings
Signed-off-by: Clément Péron <peron.clem@gmail.com>
2022-01-02 19:47:59 +01:00
Bartłomiej Burdukiewicz
e66258ad7a
layer: convert to new override syntax 💥
OE/Yocto is migration towards new override syntax,
current master (upcomming honister release) will not
tolerate "_" as override operator.

New override syntax will be backported to
dunfell, gatesgarth, hardknott releases.

Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
2021-08-23 18:47:19 +02:00
Marek Belisko
59b953f341 u-boot: Drop un-needed patch
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2021-04-23 14:24:06 +02:00
Marek Belisko
f66e6f255f u-boot: Fix orange-pi-zero booting
Without this patch booting ends with Starting kernel ...

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2021-03-30 21:54:45 +02:00
Maciej Pijanowski
11052ea20e
Revert "u-boot: rebase nanopi_neo_air emmc patch"
This reverts commit 58d382d598.

This change was not needed on master. The patch was already correctly
refreshed on the dunfell branch to be compatible with the v2020.01
U-Boot release. It was done in the following commit: d0bbc7334d
2020-11-04 22:16:53 +01:00
Maciej Pijanowski
58d382d598
u-boot: rebase nanopi_neo_air emmc patch
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2020-11-04 21:50:05 +01:00
Bartłomiej Burdukiewicz
3f6dcb3d08
u-boot: don't override COMPATIBLE_MACHINE. 2020-10-23 00:08:17 +02:00
Bartłomiej Burdukiewicz
636b3b74d7
u-boot: don't override u-boot configuration when building for other machines. 2020-10-22 19:30:32 +02:00
Jonathan Liu
9828fc2b82 u-boot: rebase patch against v2020.04
Signed-off-by: Jonathan Liu <net147@gmail.com>
2020-05-30 18:58:15 +10:00
Andrey Lebedev
b2f0d28f49
Correctly generate .config file for the compilation 2020-01-26 11:02:00 +02:00
Andrey Lebedev
89be65d931
u-boot-sunxi: fix compilation under gcc, newer than 4 2020-01-26 11:01:56 +02:00
Trevor Woerner
d0bbc7334d U-Boot: patch refresh
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-08-30 14:06:41 -04:00
Trevor Woerner
7964ef28bd U-Boot: switch to upstream
Use the upstream U-Boot and simply bbappend the changes that are needed.

U-Boot 2018.09 no longer builds against master.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-08-30 14:06:41 -04:00
Sergey Matyukevich
6b536f1083 u-boot: upgrade to 2018.09
Bump u-boot version. Notes:
- pylibfdt fix is not needed anymore
- add bison and flex as depenedencies
- update license info

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2018-11-10 21:58:32 +03:00
Florin Sarbu
5e1b5a9f86 u-boot_2018.03.bb: Enable eMMC support for Nanopi Neo Air
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-25 20:27:12 +02:00
Martin Kelly
5e61ba92e3 u-boot: upgrade to 2018.03
This version of u-boot includes nanopi-neo-plus2 support.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-04-12 15:18:56 -07:00
Sergey Matyukevich
684a800c86 u-boot: enable support for sun50i
Add support of sun50i SoC family to u-boot recipe:
- move SPL_BINARY to sunxi.inc and sunxi64.inc
  -- different SoC families have different SPL_BINARY names
- create separate boot.cmd files for arm and aarch64
  -- different kernel image types require different boot commands
- add atf-sunxi dependency
  -- u-boot for aarch64 needs ATF BL31 binary

- add do_compile_sun50i[depends]
  -- make sure that BL31 binary is already deployed before u-boot build

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 22:24:12 +03:00
Sergey Matyukevich
da0e7e0ed1 atf-sunxi: add new recipe
Add ARM Trusted Firmware package for Allwinner arm64 chips.
There are different approaches to build bootloaders for aarch64
platforms. Allwinner approach is to build ATF first, and then
to build U-Boot using BL31 binary from ATF build.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 22:21:21 +03:00
Sergey Matyukevich
1af0ae84d1 u-boot: fix binman/libfdt/pylibfdt build issue
Binman host tool in u-boot depends on libfdt library and pylibfdt module.
All the needed libraries and python modules are a part of u-boot.
This patch adds libfdt and pylibfdt to u-boot build:
- add required dependencies swig-native and python3-native
- fix python setup-tools issue: pass proper shared lib linker

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 21:53:46 +03:00
Sergey Matyukevich
6499191c36 u-boot: simplify recipe license section
Remove the complete list of U-Boot licenses. Follow the poky and OE-core
approach and keep only umbrella reference to Licenses/README.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 21:46:10 +03:00
Sergey Matyukevich
35e264f9fe u-boot: bump version to 2017.11
Remove patch adding OLinuxino-Lime2-eMMC defconfig:
it already merged to uboot mainline.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 21:44:48 +03:00
Diego Rondini
febf35474a u-boot: adjust root for eMMC boot
Adjust the bootscript so that if U-Boot is loaded from the eMMC, then
kernel "root" parameter is set to use eMMC second partition.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2017-04-26 08:46:45 +00:00
Diego Rondini
54bc239a3f u-boot: add support for eMMC for OLinuXino Lime2
Add support for eMMC for Olimex A20-OLinuXino Lime2 eMMC board by adding the
appropriate defconfig while waiting it is upstreamed in mainline U-Boot.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2017-04-26 08:46:45 +00:00
Enrico Butera
679053489c Merge pull request #172 from twoerner/contrib/twoerner/gcc6-uboot-fix
u-boot-sunxi: gcc6 fix
2017-04-10 22:13:12 +02:00
Trevor Woerner
9d34c6f2f6 u-boot-sunxi: gcc6 fix
Fix the following build error when compiling u-boot-sunxi with gcc6:

	linux/compiler-gcc6.h: No such file or directory

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-04-09 20:04:00 -04:00
Sergey Matyukevich
a6d2bb6b9e Bump versions of kernel and u-boot
Bump preferred u-boot release version and kernel git version:
- kernel 4.11.0-rc5
- u-boot 2017.03

Update preferred versions of u-boot and kernel for all the
boards that are using them: nanopi-neo, orange-pi-one, pcduino.

The purpose of this update is to get the latest features for
sun8i cores including SPI support and orange-pi-zero support

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-04-09 19:13:12 +03:00
Sergey Matyukevich
0dcdc4edf9 sun8i: add new SoC family
Add config for sun8i SoC family and specify preferred BSP components.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-12-14 22:49:57 +03:00
Jonathan Liu
11e16d173f u-boot: update to 2016.11
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-11-17 12:40:19 +11:00
Andrea Galbusera
6dfe134952 u-boot_2016.09.01: fix build with new upstream u-boot.inc
Commit b36056af20e981433f143556d511dec5644930fc in oe-core master
(matching commit in poky master is a40f5d34065129ab19a3c981cbb38f854e9ae0ec)
moved some bits out of u-boot.inc (from oe-core) into u-boot-common_${PV}.inc. This
breaks many u-boot recipes in the wild, including u-boot_2016.09.01 from this layer
since the variable S itself results undefined.

Explicitly setting S fixes the issue.
2016-11-03 18:07:44 +01:00
Jonathan Liu
3dc1fc4103 u-boot: update to 2016.09.01
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-09-26 17:29:51 +10:00
Jonathan Liu
a3b6faa731 u-boot: fix out-of-tree builds
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-08-23 21:48:08 +10:00