25 Jun, 2019

1 commit

  • Commit ad7061ed742e ("doc: Move device tree bindings documentation to
    doc/device-tree-bindings") moved all device tree binding documentation
    to doc/device-tree-bindings directory.

    The current U-Boot project still have two documentation directories:

    - doc/
    - Documentation/

    Move all documentation and sphinx files to doc directory so all content
    can be in a common place.

    Adapted to U-Boot v2019.04

    Signed-off-by: Breno Lima
    Acked-by: Ye Li

    Breno Lima
     

24 May, 2019

1 commit

  • Porting the cadence USB3 (CDNS3) driver from kernel to u-boot. We only support
    the gadget (device mode), while the host mode is not supported. Users remains
    to use xhci-imx8 driver for host mode.

    Some changes in the CDNS3 driver porting:

    1. Add match_ep call back to usb_gadget_ops. The CDNS3 gadget driver replies
    on this operation to bind the usb_ep/usb_ss_ep with the endpoint descriptor
    when function layer uses usb_ep_autoconfig to add endpoint descriptors to gadget.
    So that CDNS3 driver can know the EP information and configure the EP once the
    set configuration request is received.

    2. U-boot does not have CMA, so it won't allocate uncached memory. Need to flush
    TRB and its DMA buffer before prime to usb controller and after complete transfer.

    3. In core.c, we add functions to hook with u-boot. It needs uplayer like
    to pass the register base address of each part of the USB controller.

    4. Force the CDNS3 gadget max speed to HS. The SuperSpeed is not supported by u-boot,
    so disable it in gadget driver. A configuration USB_CDNS3_GADGET_FORCE_HIGHSPEED is
    selected.

    5. Added gadget_is_cdns3 checking to provide bcdUSB value in device descriptor.

    6. Moved some new fields in usb_ep structure to usb_ss_ep, since u-boot does not have them.

    7. Remove host part codes as it is not supported by this driver.

    Signed-off-by: Ye Li
    Acked-by: Peter Chen
    (cherry picked from commit 70514bd095ff9a94e9a523845641381486284257)
    (cherry picked from commit db2cc879f7e53ead1e3615c1d61ba0b571e81dfa)

    Ye Li
     

09 Apr, 2019

1 commit


03 Apr, 2019

1 commit


22 Mar, 2019

1 commit


19 Mar, 2019

1 commit


05 Mar, 2019

1 commit


19 Feb, 2019

1 commit


08 Feb, 2019

1 commit


31 Jan, 2019

1 commit


30 Jan, 2019

1 commit


29 Jan, 2019

1 commit


26 Jan, 2019

1 commit


18 Jan, 2019

1 commit


16 Jan, 2019

2 commits

  • With the current Makefile, CONFIG_BOARD_SIZE_LIMIT is used to check
    the U-Boot binary without devicetree only. This produces wrong results
    when OF_SEPARATE is used.

    To fix this, run the CONFIG_BOARD_SIZE_LIMIT check on all .img binaries
    as well.

    Signed-off-by: Simon Goldschmidt
    Reviewed-by: Simon Glass

    Simon Goldschmidt
     
  • Multiple people have reported intermittent build failure in parallel
    building.

    Kever Yang reported this issue some time ago [1], but I could not
    get enough clue at that time.

    This time, Richard Purdie provided a full build log [2], which was
    very helpful for me to root-cause it.

    The cause of the problem is commit 0d982c585330 ("Makefile: add
    dependencies to regenerate u-boot.cfg when lost").

    That commit added the 'cfg' as the prerequisite of the 'all' target,
    so the parallel build tries to run it simultaneously, then regenerates
    a symlink while building objects.

    When u-boot.cfg is accidentally lost, let's rebuild it before
    descending into any subdirectories.

    Also, what is annoying is u-boot.cfg is currently regenerated every
    time since it depends on FORCE. We can get rid of all the prerequisites
    of u-boot.cfg because u-boot.cfg is rebuilt anyway as the byproduct of
    auto.conf when a user updates the .config file.

    [1] https://lists.denx.de/pipermail/u-boot/2018-June/330341.html
    [2] https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/160/steps/7/logs/step1b

    Fixes: 0d982c585330 ("Makefile: add dependencies to regenerate u-boot.cfg when lost")
    Reported-by: Kever Yang
    Reported-by: Richard Purdie
    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass

    Masahiro Yamada
     

15 Jan, 2019

1 commit


11 Jan, 2019

2 commits


10 Jan, 2019

1 commit


09 Jan, 2019

4 commits


08 Jan, 2019

1 commit


03 Jan, 2019

1 commit


02 Jan, 2019

2 commits


01 Jan, 2019

3 commits


18 Dec, 2018

1 commit


17 Dec, 2018

1 commit


16 Dec, 2018

1 commit


13 Dec, 2018

2 commits

  • Building U-Boot with CONFIG_PCI and CONFIG_DM_PCI enabled, but
    CONFIG_SPL_PCI_SUPPORT disabled, results in following linker
    error:

    lib/built-in.o: In function `fdtdec_get_pci_bar32':
    lib/fdtdec.c:305: undefined reference to `dm_pci_read_bar32'
    fdtdec.c:305:(.text.fdtdec_get_pci_bar32+0x24): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `dm_pci_read_bar32'

    This is because reference to dm_pci_read_bar32() remains in lib/fdtdec.c
    while SPL build does not descend into drivers/pci directory in
    drivers/Makefile if CONFIG_SPL_PCI_SUPPORT is not enabled.

    Fix this by applying appropriate #define guards in lib/fdtdec.c.
    It looks like ns16550.c has the same problem, so fixed that too.

    To simplify this, CONFIG_SPL_PCI_SUPPORT is renamed to CONFIG_SPL_PCI
    (enables use of CONFIG_IS_ENABLED() macro).

    Suggested-by: Vignesh R
    Signed-off-by: Sekhar Nori
    Reviewed-by: Lokesh Vutla
    Reviewed-by: Tom Rini

    Sekhar Nori
     
  • This option has crept into use with some boards. Add a warning to try to
    prevent this.

    As an example:
    https://lists.denx.de/pipermail/u-boot/2017-September/304966.html

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     

04 Dec, 2018

4 commits

  • Signed-off-by: Tom Rini

    Tom Rini
     
  • As the core of the subsystem has been converted along with some of the
    drivers, formalize a deadline for migration.

    Cc: Akshay Bhat
    Cc: Andreas Geisreiter
    Cc: Bin Meng
    Cc: Christian Gmeiner
    Cc: Fabio Estevam
    Cc: Jason Liu
    Cc: Ken Lin
    Cc: Ludwig Zenz
    Cc: Marek Vasut
    Cc: Max Krummenacher
    Cc: Nikita Kiryanov
    Cc: Otavio Salvador
    Cc: Peng Fan
    Reviewed-by: Simon Glass
    Cc: Soeren Moch
    Cc: Stefan Roese
    Cc: Stefano Babic
    Cc: Tim Harvey
    Cc: Troy Kisky
    Cc: Tuomas Tynkkynen
    Cc: York Sun
    Signed-off-by: Tom Rini

    Tom Rini
     
  • As much of the USB system has been migrated to DM now, formalize a
    deadline for migration.

    Reviewed-by: Marek Vasut
    Reviewed-by: Simon Glass
    Signed-off-by: Tom Rini

    Tom Rini
     
  • Given that at this point the MMC subsystem itself has been migrated
    along with a number of subsystem drivers, formalize a deadline for
    migration.

    Reviewed-by: Simon Glass
    Cc: Jaehoon Chung
    Signed-off-by: Tom Rini
    Reviewed-by: Simon Goldschmidt
    Reviewed-by: Philipp Tomsich

    Tom Rini