[poky] [yocto][PATCH] U-Boot 2018.03 wrong SD card clock speed
nick83ola
nick83ola at gmail.com
Thu May 24 10:33:48 PDT 2018
This patch fixes a problem with U-Boot 2018.03.
Basically U-boot get for the sd card the wrong clock source and with the
latest firmware (that changes it) it hangs when it try to access the sd
card.
See this discussion
https://github.com/raspberrypi/firmware/issues/953
This patch has already been accepted in U-boot source tree and it will be
included in 2018.05 version.
====================================
Another consideration: the current structure of the u-boot recipe render
very difficult to create a bbappend to apply for example a patch.
$ ls
files
u-boot_2018.03.bb
u-boot-common_2018.03.inc
u-boot-fw-utils_2018.03.bb
u-boot.inc u-boot-mkimage_2018.03.bb
$ cat u-boot-common_2018.03.inc
HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome"
SECTION = "bootloaders"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM =
"file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
PE = "1"
# We use the revision in order to avoid having to fetch it from the
# repo during parse
SRCREV = "f95ab1fb6e37f0601f397091bb011edf7a98b890"
SRC_URI = " \
git://git.denx.de/u-boot.git \
file://0001-mmc-use-core-clock-frequency-in-bcm2835-sdhost.patch \
"
S = "${WORKDIR}/git"
This because the SRC_URI is in the u-boot-common_2018.03.inc file and this
file is included by the other u-boot recipes
So for using a bbappend I have to create 3 bbappend for each of the recipe
u-boot_2018.03.bb u-boot-fw-utils_2018.03.bb u-boot-mkimage_2018.03.bb
Also why the .inc file has a version number?
I think that the best approach here would be to have only one recipe that
provides the
u-book-mkimage u-boot-fw-utils and u-boot packages
================================================
Best Regards
Nicola Lunghi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20180524/eb131d2d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-u-boot_2018.03-raspberrypi-fix-wrong-SD-card-frequen.patch
Type: text/x-patch
Size: 5551 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20180524/eb131d2d/attachment.bin>
More information about the poky
mailing list