[U-Boot] [ANN] U-Boot v2017.05-rc2 released

Andreas Färber afaerber at suse.de
Fri Apr 21 02:43:44 UTC 2017


Am 21.04.2017 um 04:24 schrieb Andreas Färber:
> Hi Simon,
> 
> Am 21.04.2017 um 04:10 schrieb Simon Glass:
>> On 20 April 2017 at 18:47, Andreas Färber <afaerber at suse.de> wrote:
>>> Am 21.04.2017 um 02:34 schrieb Andreas Färber:
>>>> Am 21.04.2017 um 01:44 schrieb Simon Glass:
>>>>> On 20 April 2017 at 17:23, Andreas Färber <afaerber at suse.de> wrote:
>>>>>> Using -rc2 with firefly-rk3288 defconfig I can only boot into SPL but
>>>>>> not into full U-Boot. I am using the old documented way of dd'ing to
>>>>>> sector 256 on SD (doc/README.rockchip).
>>>>>>
>>>>>> Looking at include/configs/rk3288_common.h I also tried putting
>>>>>> u-boot.img on a FAT partition, to no effect.
>>>>>>
>>>>>> v2017.03 doesn't even show SPL working.
>>>>>> v2017.01 worked okay.
>>>>>>
>>>>>> Build log for -rc2:
>>>>>> https://build.opensuse.org/build/Base:System:Staging/openSUSE_Factory_ARM/armv7l/u-boot-firefly-rk3288/_log
>>>>>
>>>>> Can you try removing RETURN_TO_BROM (or imilsar) and adding
>>>>> CONFIG_SPL_OF_PLATDATA?
>>>>
>>>> As an interim update I can share that latest master behaves slightly
>>>> differently:
>>>>
>>>> U-Boot SPL 2017.05-rc2-00053-g3c476d8 (Apr 21 2017 - 02:29:48)
>>>> Returning to boot ROM...
>>>>
>>>> compared to:
>>>>
>>>> U-Boot SPL 2017.05-rc2 (Apr 20 2017 - 14:33:20)
>>>
>>> Disabling the ROCKCHIP_SPL_BACK_TO_BROM option I get:
>>>
>>> U-Boot SPL 2017.05-rc2-00053-g3c476d8 (Apr 21 2017 - 02:38:52)
>>> SPL: Unsupported Boot Device!
>>> SPL: failed to boot from all boot devices
>>> ### ERROR ### Please RESET the board ###
>>>
>>> If I additionally enable SPL_OF_PLATDATA then I am back to the v2017.03
>>> state of no serial output.
>>
>> I just tested mainline with those two changes and it works for me. I
>> pushed my patch to u-boot-rockchip/firefly-working. Can you try again?
> 
> Confirming that with your defconfig it fully works again.
> 
> I had instead run menuconfig and manually (un)selected the options.
> Maybe those options influence other defaults? I was at the same qoriq
> merge commit your branch is based off.

Here's a quick diff against master:

diff -u firefly/.config firefly/simon_config
--- firefly/.config	2017-04-21 04:39:49.484215791 +0200
+++ firefly/simon_config	2017-04-21 04:39:07.123727380 +0200
@@ -169,9 +169,8 @@
 CONFIG_ROCKCHIP_RK3288=y
 # CONFIG_ROCKCHIP_RK3328 is not set
 # CONFIG_ROCKCHIP_RK3399 is not set
-CONFIG_ROCKCHIP_SPL_BACK_TO_BROM=y
-CONFIG_ROCKCHIP_BROM_HELPER=y
-# CONFIG_SPL_MMC_SUPPORT is not set
+# CONFIG_ROCKCHIP_SPL_BACK_TO_BROM is not set
+CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_BOARD_SPECIFIC_OPTIONS=y
 # CONFIG_TARGET_CHROMEBOOK_JERRY is not set
@@ -510,7 +509,7 @@
 CONFIG_OF_SEPARATE=y
 # CONFIG_OF_EMBED is not set
 CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names
interrupt-parent assigned-clocks assigned-clock-rates
assigned-clock-parents"
-# CONFIG_SPL_OF_PLATDATA is not set
+CONFIG_SPL_OF_PLATDATA=y
 CONFIG_NET=y
 CONFIG_NET_RANDOM_ETHADDR=y
 # CONFIG_NETCONSOLE is not set
@@ -848,6 +847,7 @@
 # CONFIG_FSL_LPUART is not set
 # CONFIG_MVEBU_A3700_UART is not set
 CONFIG_SYS_NS16550=y
+CONFIG_ROCKCHIP_SERIAL=y
 # CONFIG_MSM_SERIAL is not set
 # CONFIG_PXA_SERIAL is not set

At least SERIAL looks important...

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)


More information about the U-Boot mailing list