mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-19 12:49:03 +02:00
u-boot-rockchip: update for latest firmware bootloader
There was an update to the rockchip firmware bootloader that appears to require an update to the u-boot bootloader as well. The old firmware bootloader was: RK3288UbootLoader_V2.30.06.bin The new firmware bootloader is: rk3288_ubootloader_v1.01.06.bin Signed-off-by: Trevor Woerner <twoerner@gmail.com>
This commit is contained in:
parent
42176d5b36
commit
87a8187d39
27
recipes-bsp/u-boot/u-boot-rockchip.inc
Normal file
27
recipes-bsp/u-boot/u-boot-rockchip.inc
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
|
||||
# Copyright (C) 2017 Trevor Woerner <twoerner@gmail.com>
|
||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
require recipes-bsp/u-boot/u-boot.inc
|
||||
|
||||
DESCRIPTION = "Rockchip next-dev U-Boot"
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
|
||||
COMPATIBLE_MACHINE = "(rk3036|rk3066|rk3188|rk3288|rk3328|rk3399)"
|
||||
|
||||
DEPENDS = "dtc-native bc-native swig-native"
|
||||
|
||||
# u-boot will build native python module
|
||||
inherit pythonnative
|
||||
|
||||
do_compile_prepend () {
|
||||
export STAGING_INCDIR=${STAGING_INCDIR_NATIVE};
|
||||
export STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE};
|
||||
}
|
||||
|
||||
do_compile_append () {
|
||||
# copy to default search path
|
||||
if [ ${SPL_BINARY} ]; then
|
||||
cp ${B}/spl/${SPL_BINARY} ${B}/
|
||||
fi
|
||||
}
|
11
recipes-bsp/u-boot/u-boot-rockchip_20171218.bb
Normal file
11
recipes-bsp/u-boot/u-boot-rockchip_20171218.bb
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
|
||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
include u-boot-rockchip.inc
|
||||
|
||||
TAG = "release-${PV}"
|
||||
SRC_URI = " \
|
||||
git://github.com/rockchip-linux/u-boot.git;tag=${TAG};nobranch=1; \
|
||||
file://binutils-2.28-ld-fix.patch \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
|
||||
# Copyright (C) 2017 Trevor Woerner <twoerner@gmail.com>
|
||||
# Copyright (C) 2017 Romain Perier <romain.perier@collabora.com>
|
||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
require recipes-bsp/u-boot/u-boot.inc
|
||||
require recipes-bsp/u-boot/u-boot-common_2018.01.inc
|
||||
|
||||
DESCRIPTION = "Rockchip next-dev U-Boot"
|
||||
COMPATIBLE_MACHINE = "(firefly-rk3288|rock2-square|veyron-speedy)"
|
||||
|
||||
DEPENDS = "dtc-native bc-native"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/rockchip-linux/u-boot.git;branch=release; \
|
||||
file://binutils-2.28-ld-fix.patch \
|
||||
"
|
||||
SRCREV = "${AUTOREV}"
|
||||
PV = "v2017.07+git${SRCPV}"
|
||||
|
||||
do_compile_append () {
|
||||
# copy to default search path
|
||||
cp ${B}/spl/${SPL_BINARY} ${B}/
|
||||
}
|
Loading…
Reference in New Issue
Block a user