[U-Boot] [PATCH 00/19] imx: ventana: misc updates

Tim Harvey tharvey at gateworks.com
Fri May 15 18:30:26 CEST 2015


On Fri, May 15, 2015 at 7:25 AM, Stefano Babic <sbabic at denx.de> wrote:
> Hi Tim,
>
> On 09/05/2015 03:28, Tim Harvey wrote:
>> This collection of patches comprises a set of various updates I've been
>> on for Ventana.
>>
>> In summary:
>>  - enable driver model
>>  - enable gpio command
>>  - enable dm-serial
>>  - enable thermal support
>>  - fixup for GW522x PCI enumeration
>>  - split out common code shared between SPL an U-Boot
>>  - pull down various init code to the SPL for use in Falcon mode
>>  - enable Falcon mode (based on env var)
>>
>> The enabling of Falcon mode is dependent on a patch I submitted earlier
>> allowing nand env in spl [1].
>>
>> Currently Falcon mode is configured for NAND boot. I plan on re-working
>> a pending patchset I have that allows dynamic env support (use mmc or nand
>> env depending on boot device) but I still need to re-work that using
>> driver-model so it will come later.
>>
>> I will send a followup patch with README updates explaining our use of Falcon
>> mode if everything here looks good.
>>
>> Tim
>>
>> [1] https://patchwork.ozlabs.org/patch/470191/
>>
>> Tim Harvey (19):
>>   imx: ventana: set dtype env var to boot media
>>   imx: ventana: display SPL boot device
>>   imx: ventana: config: enable gpio command
>>   imx: ventana: config: enable driver model
>>   imx: ventana: register gpio's with gpio_request
>>   imx: ventana: enable DM_SERIAL
>>   imx: ventana: config: enable Thermal support
>>   imx: ventana: config: use MMC SPL RAW support
>>   imx: ventana: (cosmetic) clean up size defines for improved
>>     readability
>>   imx: ventana: fix pcie reset for GW522x
>>   imx: ventana: default msata/pci mux to pci before PCI enumeration
>>   imx: ventana: split out common functions between SPL and uboot
>>   imx: ventana: move GSC boot watchdog disable function to gsc.c
>>   imx: ventana: detect pmic using i2c probe instead of board model
>>   imx: ventana: use common uart and i2c setup functions in SPL
>>   imx: ventana: add gpio setup to SPL
>>   imx: ventana: add pmic_setup to SPL
>>   imx: ventana: add GSC boot watchdog disable to SPL
>>   imx: ventana: config: enable Falcon mode
>>
>>  board/gateworks/gw_ventana/Makefile         |   2 +-
>>  board/gateworks/gw_ventana/common.c         | 827 +++++++++++++++++++++++++
>>  board/gateworks/gw_ventana/common.h         |  98 +++
>>  board/gateworks/gw_ventana/gsc.c            |  27 +
>>  board/gateworks/gw_ventana/gsc.h            |   1 +
>>  board/gateworks/gw_ventana/gw_ventana.c     | 911 ++--------------------------
>>  board/gateworks/gw_ventana/gw_ventana_spl.c | 103 ++--
>>  include/configs/gw_ventana.h                |  67 +-
>>  8 files changed, 1102 insertions(+), 934 deletions(-)
>>  create mode 100644 board/gateworks/gw_ventana/common.c
>>  create mode 100644 board/gateworks/gw_ventana/common.h
>>
>
> Patches 1-7, 10-16, 18 applied to u-boot-imx, thanks !
>
> Best regards,
> Stefano Babic
>

Stefano,

Thanks - I just posted a v2 of patch 8 and a rebased 9 and 17
(assuming that is why you skipped those two).

You were right to hold off on 19 as it will fail to compile until
'env_nand: use nand_spl_load_image for readenv if SPL' [1] is accepted
which I sent to Scott as he's the nand maintainer - he's given a
thumbs up but may be waiting for additional feedback (or perhaps
waiting on my attempted simplification of readenv which I've about
lost interest on as its just a simplification and apparently I don't
understand the args to nand_read_skip_bad).

Tim

[1] - https://patchwork.ozlabs.org/patch/472491/


More information about the U-Boot mailing list