1. 22 3月, 2021 1 次提交
  2. 21 3月, 2021 1 次提交
  3. 16 3月, 2021 1 次提交
  4. 08 3月, 2021 1 次提交
  5. 03 3月, 2021 2 次提交
    • P
      usb: musb: Fix compilation of gadget code · 4cc53ef1
      Pali Rohár 提交于
      musb udc code depends on usb gadget code provided by CONFIG_USB_DEVICE as
      defined in drivers/usb/gadget/Makefile. But this Makefile is not included
      into U-Boot build when CONFIG_USB_GADGET is not set. As CONFIG_USB_DEVICE
      cannot be enabled together with CONFIG_USB_GADGET it means that dependency
      for musb udc code is not compiled during build. Fix it by including
      drivers/usb/gadget dependency also when CONFIG_USB_DEVICE is set.
      
      This patch fixes compile errors:
      
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_rx':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `ep0_recv_setup'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_idle':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `ep0_recv_setup'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_zero_data_request':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_idle':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `ep0_recv_setup'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_ep0_rx':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_rcv_complete'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `musb_peri_rx_ep':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_rcv_complete'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `udc_endpoint_write':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_tx_complete'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `udc_irq':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o:u-boot/drivers/usb/musb/musb_udc.c: more undefined references to `usbd_device_event_irq' follow
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `udc_setup_ep':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_alloc_urb'
      arm-linux-gnueabi-ld.bfd: drivers/usb/musb/built-in.o: in function `udc_startup_events':
      u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      arm-linux-gnueabi-ld.bfd: u-boot/drivers/usb/musb/musb_udc.c: undefined reference to `usbd_device_event_irq'
      make: *** [Makefile:1762: u-boot] Error 1
      Signed-off-by: NPali Rohár <pali@kernel.org>
      Reviewed-by: NLukasz Majewski <lukma@denx.de>
      Acked-by: NPavel Machek <pavel@ucw.cz>
      4cc53ef1
    • S
      binman: Indicate how to make binman verbose · ef108047
      Simon Glass 提交于
      Add notes about how to make binman produce verbose logging when building.
      
      Add a comment on how to do this.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      ef108047
  6. 02 3月, 2021 1 次提交
  7. 01 3月, 2021 1 次提交
    • M
      ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y · 7034478a
      Marek Vasut 提交于
      The u-boot-with-spl.imx is a concatenation of SPL and u-boot.uim.
      The u-boot.uim is u-boot.bin wrapped in uImage. In case OF_SEPARATE
      is enabled, the u-boot.bin does not contain control DT for U-Boot,
      and so u-boot.uim does not contain the DT, and so u-boot-with-spl.imx
      does not contain the DT, and a system where u-boot-with-spl.imx is
      written to offset 1024B to the start of storage no longer boots, as
      it is missing DT.
      
      In case OF_SEPARATE is enabled, u-boot.img contains both u-boot.bin
      and the necessary DTs. Therefore, use u-boot.img instead of u-boot.uim
      to generate u-boot-with-spl.imx when OF_SEPARATE is enabled.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Christoph Niedermaier <cniedermaier@dh-electronics.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      7034478a
  8. 25 2月, 2021 1 次提交
  9. 16 2月, 2021 1 次提交
  10. 06 2月, 2021 1 次提交
  11. 01 2月, 2021 1 次提交
  12. 28 1月, 2021 1 次提交
  13. 15 1月, 2021 1 次提交
    • L
      tools: socfpgaimage: update padding flow · 40551cf9
      Ley Foon Tan 提交于
      The existing socfpgaimage always pads the image to the maximum size of
      OCRAM size. This will break in the encryption flow where it expects the
      image to be un-padded. The encryption tool will do the encryption for
      the whole image and append the signature key at end of the image.
      The signature key will append to beyond the size of OCRAM if the image
      is padded with the maximum size before encryption.
      
      Move the padding step from socfpgaimage to Makefile and pads with objcopy
      command.
      
      socfpgaimage will pad the image with 16 bytes aligned (including CRC word),
      this is a requirement in encryption flow.
      Signed-off-by: NLey Foon Tan <ley.foon.tan@intel.com>
      40551cf9
  14. 12 1月, 2021 1 次提交
  15. 05 1月, 2021 1 次提交
  16. 22 12月, 2020 1 次提交
  17. 01 12月, 2020 2 次提交
  18. 10 11月, 2020 1 次提交
  19. 06 11月, 2020 1 次提交
  20. 30 10月, 2020 1 次提交
  21. 29 10月, 2020 1 次提交
  22. 28 10月, 2020 1 次提交
  23. 24 10月, 2020 1 次提交
    • P
      Makefile: Fix u-boot-nodtb.bin target · ae897022
      Pali Rohár 提交于
      This change fixes two issues when building u-boot-nodtb.bin target:
      
      * Remove intermediate binary u-boot-nodtb.bin from disk when static_rela
        call (which modifies u-boot-nodtb.bin binary) failed. It is required
        because previous objcopy call creates binary and static_rela finish it.
      
      * Do not call static_rela cmd when u-boot-nodtb.bin binary was not
        created/updated by previous objcopy call.
      
      Second fix would ensure that u-boot-nodtb.bin binary is not updated when
      all prerequisites were up-to-date. And therefore final binary u-boot.bin
      is not updated in case all prerequisites were not modified and were
      up-to-date.
      
      Now running 'make SOURCE_DATE_EPOCH=0 u-boot.bin' second time now does not
      touch u-boot.bin binary in case nothing was modified, so GNU make can
      correctly detect that everything is up-to-date.
      Signed-off-by: NPali Rohár <pali@kernel.org>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      ae897022
  24. 22 10月, 2020 3 次提交
  25. 20 10月, 2020 1 次提交
  26. 09 10月, 2020 1 次提交
    • C
      Makefile: socfpga: Generate sfp file with 4 SPL images · 505dc1c6
      Chee Hong Ang 提交于
      Generate 'u-boot-splx4.sfp' which consist of 4 SPL images required
      for booting up Cyclone5/Arria10.
      
      By default, this 'u-boot-splx4.sfp' is generated without extra
      padding after each SPL image.
      
      For Cyclone5, 'u-boot-splx4.sfp' contains:
      4 x SPL(64KB) = 256KB
      
      For Arria10, 'u-boot-splx4.sfp' contains:
      4 x SPL(256KB) = 1024KB
      
      For Cyclone5 using NAND flash image layout for 128 KB memory blocks,
      user can 'make' the following target to generate 4 SPL images with
      padding:
      
      make u-boot-spl-padx4.sfp
      
      'u-boot-spl-padx4.sfp' contains four 128KB SPL images (each 64KB SPL is
      followed by 64KB of zero-padding).
      4 x (SPL(64KB) + zero-padding(64KB)) = 512KB
      Signed-off-by: NChee Hong Ang <chee.hong.ang@intel.com>
      Signed-off-by: NLey Foon Tan <ley.foon.tan@intel.com>
      505dc1c6
  27. 05 10月, 2020 1 次提交
  28. 23 9月, 2020 3 次提交
  29. 22 9月, 2020 1 次提交
  30. 12 9月, 2020 1 次提交
  31. 08 9月, 2020 1 次提交
  32. 27 8月, 2020 1 次提交
  33. 12 8月, 2020 1 次提交
  34. 11 8月, 2020 1 次提交