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
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)
09 Apr, 2019
1 commit
-
Signed-off-by: Tom Rini
03 Apr, 2019
1 commit
22 Mar, 2019
1 commit
-
When the SPL has full fitImage support, do not generate fitImage with
external data. The full fitImage code assumes the entire fitImage is
loaded in RAM, and the SPL uses fdt_totalsize() to determine the size
of the whole fitImage, which can not work with external data.Signed-off-by: Marek Vasut
Cc: Tom Rini
19 Mar, 2019
1 commit
-
Signed-off-by: Tom Rini
05 Mar, 2019
1 commit
-
Signed-off-by: Tom Rini
19 Feb, 2019
1 commit
-
Signed-off-by: Tom Rini
08 Feb, 2019
1 commit
-
Signed-off-by: Tom Rini
31 Jan, 2019
1 commit
-
If `make mrproper` does not delete the generated drivers/video/fonts/*.S
files a following `make tests` fails.Signed-off-by: Heinrich Schuchardt
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
30 Jan, 2019
1 commit
-
For 2019.04
29 Jan, 2019
1 commit
-
Build flash.bin for i.MX8 when SPL enabled.
Signed-off-by: Peng Fan
26 Jan, 2019
1 commit
-
Ensure that "make distclean" deletes an existing CHANGELOG file.
Signed-off-by: Robert P. J. Day
18 Jan, 2019
1 commit
-
The last parameter is expected to be the imagefile. Since -E is a
flag having the output name before -p will make mkimage ignore the
external offset option.Signed-off-by: Patrick Wildt
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 -
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/step1bFixes: 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
15 Jan, 2019
1 commit
-
Signed-off-by: Tom Rini
11 Jan, 2019
2 commits
-
There is no need to compile and include this code if it is not used.
CONFIG_USB_GADGET can be used for the purpose.Signed-off-by: Jean-Jacques Hiblot
10 Jan, 2019
1 commit
-
Fixes for 2019.01
09 Jan, 2019
4 commits
-
The mkimage_fit_atf.sh SPL FIT generator script requires
u-boot-nodtb.bin, but this was not enforced by the Makefile. This could
cause the generator script to be executed before u-boot-nodtb.bin has
been created.Signed-off-by: Chris Spencer
Cc: NXP i.MX U-Boot Team -
Add a migration plan for video which is an important subsystem in U-Boot.
Signed-off-by: Simon Glass
-
Add a migration plan for PCI which is an important subsystem in U-Boot.
Signed-off-by: Simon Glass
-
When checking for boards that are enabling a SATA driver that isn't
converted to DM yet we need to be sure to not also trip over boards that
do set CONFIG_DM_SCSI by itself, as that is not a bug.Reported-by: Andy Shevchenko
Fixes: ea9d7c17fc4c ("dm: MIGRATION: Add migration plan for CONFIG_SATA")
Signed-off-by: Tom Rini
08 Jan, 2019
1 commit
-
Signed-off-by: Tom Rini
03 Jan, 2019
1 commit
02 Jan, 2019
2 commits
-
Migration plan for DM_SPI_FLASH is v2019.07 since it
depends on DM_SPI migration.Signed-off-by: Jagan Teki
-
- v2019.04 for no dm conversion drivers
- v2019.07 for partially converted drivers.Note: there were many updates on this deadline, so better
not update this again.Signed-off-by: Jagan Teki
01 Jan, 2019
3 commits
-
imx for 2019.01
- introduce support for i.MX8M
- fix size limit for Vhybrid / pico boards
- several board fixes
- w1 driver for MX2x / MX5x -
Build flash.bin for i.MX8MQ, it will include signed hdmi firmware,
spl, ddr firmware, fit image(bl31.bin, u-boot-nodtb.bin, dtb).
Burn it to 33KB offset of SD card.Signed-off-by: Peng Fan
-
Introduce CONFIG_FIT_EXTERNAL_OFFSET to give user a choice to choose
where to put the external data.Signed-off-by: Peng Fan
18 Dec, 2018
1 commit
-
Signed-off-by: Tom Rini
17 Dec, 2018
1 commit
-
Output the device model migration warnings to stderr. This allows tools
like buildman to pick them up rather than suppressing them along with
the normal build output on stdout.Signed-off-by: Chris Packham
16 Dec, 2018
1 commit
-
The contents of the test subdirectories only make sense when we have
CONFIG_UNIT_TEST set. We will otherwise attempt to build code on for
example sandbox that needs CONFIG_UNIT_TEST otherwise and rather than
complicate the Makefiles simply leave them out when we can.Signed-off-by: Tom Rini
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 -
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.htmlSigned-off-by: Simon Glass
Reviewed-by: Tom Rini
04 Dec, 2018
4 commits
-
Signed-off-by: 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 -
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 -
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