2dcfa058 | 13-Jan-2019 |
Chris Packham <judge.packham@gmail.com> |
common: spl: Kconfig: spelling fixes
Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
5b978dab | 14-Jan-2019 |
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> |
bootm: use new common function lmb_init_and_reserve
This reduces duplicate code only.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
e2237a2c | 14-Jan-2019 |
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> |
fdt: parse "reserved-memory" for memory reservation
boot_fdt_add_mem_rsv_regions() adds reserved memory sections to an lmb struct. Currently, it only parses regions described by /memreserve/ entries
fdt: parse "reserved-memory" for memory reservation
boot_fdt_add_mem_rsv_regions() adds reserved memory sections to an lmb struct. Currently, it only parses regions described by /memreserve/ entries.
Extend this to the more commonly used scheme of the "reserved-memory" node.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
03dcf17d | 05-Dec-2018 |
Boris Brezillon <boris.brezillon@bootlin.com> |
common: command: Add support for $ auto-completion
Add the dollar_complete() function to auto-complete arguments starting with a '$' and use it in the cmd_auto_complete() path such that all args sta
common: command: Add support for $ auto-completion
Add the dollar_complete() function to auto-complete arguments starting with a '$' and use it in the cmd_auto_complete() path such that all args starting with a $ can be auto-completed based on the available env vars.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> [trini: Fix some linking problems] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
80a48dd4 | 03-Dec-2018 |
Boris Brezillon <boris.brezillon@bootlin.com> |
common: command: Rework the 'cmd is repeatable' logic
The repeatable property is currently attached to the main command and sub-commands have no way to change the repeatable value (the ->repeatable
common: command: Rework the 'cmd is repeatable' logic
The repeatable property is currently attached to the main command and sub-commands have no way to change the repeatable value (the ->repeatable field in sub-command entries is ignored).
Replace the ->repeatable field by an extended ->cmd() hook (called ->cmd_rep()) which takes a new int pointer to store the repeatable cap of the command being executed.
With this trick, we can let sub-commands decide whether they are repeatable or not.
We also patch mmc and dtimg who are testing the ->repeatable field directly (they now use cmd_is_repeatable() instead), and fix the help entry manually since it doesn't use the U_BOOT_CMD() macro.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
6fb61445 | 03-Dec-2018 |
Boris Brezillon <boris.brezillon@bootlin.com> |
common: command: Expose a generic helper to auto-complete sub commands
Some commands have a table of sub-commands. With minor adjustments, complete_cmdv() is able to provide auto-completion for sub-
common: command: Expose a generic helper to auto-complete sub commands
Some commands have a table of sub-commands. With minor adjustments, complete_cmdv() is able to provide auto-completion for sub-commands (it's just about passing the table of commands instead of taking the global one). We rename this function into complete_subcmd() and implement complete_cmdv() as a wrapper around complete_subcmdv().
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
cbe07ebe | 03-Dec-2018 |
Boris Brezillon <boris.brezillon@bootlin.com> |
common: command: Fix command auto-completion
When auto-completing command arguments, the last argument is not necessarily the one we need to auto-complete. When the last character is a space, a tab
common: command: Fix command auto-completion
When auto-completing command arguments, the last argument is not necessarily the one we need to auto-complete. When the last character is a space, a tab or '\0' what we want instead is list all possible values, or if there's only one possible value, place this value on the command line instead of trying to suffix the last valid argument with missing chars.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
f7597730 | 10-Jan-2019 |
Chris Packham <judge.packham@gmail.com> |
common: Kconfig: miscellaneous spelling fixes
Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
a4773c55 | 08-Jan-2019 |
Lokesh Vutla <lokeshvutla@ti.com> |
xyz-modem: Fix timeout loop waiting with WATCHDOG
Commit 2c77c0d6524eb ("xyz-modem: Change getc timeout loop waiting") fixes the loop delay when using a hw watchdog, assuming that watchdog kicking i
xyz-modem: Fix timeout loop waiting with WATCHDOG
Commit 2c77c0d6524eb ("xyz-modem: Change getc timeout loop waiting") fixes the loop delay when using a hw watchdog, assuming that watchdog kicking is taken care of by getc(). But the xyzmodem driver tries to do a getc only after confirming that a character is available like below: while (!tstc()) { till timeout; } if (tstc()) *c = getc();
and getc() does a watchdog reset only if it fails to see a character. In this case, getc() always sees a character and never does a watchdog reset. So to make sure that watchdog doesn't get reset while loading the file, do a watchdog reset just before starting the image loading.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
92e5cb80 | 07-Jan-2019 |
Marek Vasut <marek.vasut@gmail.com> |
spl: ymodem: Add support for loading gzip compressed uImage
Add support for gunzip-ing gzip-compressed uImages in the SPL Ymodem code. Loading data over Ymodem can be gruelingly slow, gzip-ing the d
spl: ymodem: Add support for loading gzip compressed uImage
Add support for gunzip-ing gzip-compressed uImages in the SPL Ymodem code. Loading data over Ymodem can be gruelingly slow, gzip-ing the data can reduce that aggravating slowness at least slightly (depends on the data, u-boot.bin compresses to ~1/3 of it's original size on ARM64), hence add optional support for decompressing gzip-compressed uImages.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Tom Rini <trini@konsulko.com>
show more ...
|
d8e9cf4d | 06-Dec-2018 |
Sekhar Nori <nsekhar@ti.com> |
common: fdt_support: print hexadecimal numbers in debug
We usually deal with hexadecimal addresses and sizes in device-tree. Its much easier if debug logs print hexadecimal values too.
Reviewed-by:
common: fdt_support: print hexadecimal numbers in debug
We usually deal with hexadecimal addresses and sizes in device-tree. Its much easier if debug logs print hexadecimal values too.
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
596be5f3 | 17-Dec-2018 |
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> |
image: fix compiling without CMD_FDT
Booting an image currently sets the environment variable "fdtaddr" by calling into 'cmd/fdt.c'. As a result, linking U-Boot fails if CMD_FDT is not enabled.
Fix
image: fix compiling without CMD_FDT
Booting an image currently sets the environment variable "fdtaddr" by calling into 'cmd/fdt.c'. As a result, linking U-Boot fails if CMD_FDT is not enabled.
Fix this by adding 'if (CONFIG_IS_ENABLED(CMD_FDT))' to the two places where 'set_working_fdt_addr()' is called.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
show more ...
|
f811e976 | 10-Jan-2019 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
Kconfig: rename CONFIG_SPL_USB_GADGET_SUPPORT as CONFIG_SPL_USB_GADGET
The SPL option for USB gadget should be named after the option for u-boot (CONFIG_USB_GADGET)
Signed-off-by: Jean-Jacques Hibl
Kconfig: rename CONFIG_SPL_USB_GADGET_SUPPORT as CONFIG_SPL_USB_GADGET
The SPL option for USB gadget should be named after the option for u-boot (CONFIG_USB_GADGET)
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
show more ...
|
f6282cdd | 20-Nov-2018 |
Ye Li <ye.li@nxp.com> |
imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8M
If we don't define CONFIG_SPL_FIT_IMAGE_TINY, when loading images from FIT, the SPL will record all loadables' info to u-boot's FDT. This causes pro
imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8M
If we don't define CONFIG_SPL_FIT_IMAGE_TINY, when loading images from FIT, the SPL will record all loadables' info to u-boot's FDT. This causes problem when HAB is enabled, because FDT's content is modified before we authenticate it.
Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
show more ...
|
6609c266 | 20-Nov-2018 |
Peng Fan <peng.fan@nxp.com> |
tools: add i.MX8M image support
i.MX8M bootable image type is like i.MX6/7, but there is signed HDMI firmware image in front of A53 bootable image, which is also has an IVT header.
Here we also inc
tools: add i.MX8M image support
i.MX8M bootable image type is like i.MX6/7, but there is signed HDMI firmware image in front of A53 bootable image, which is also has an IVT header.
Here we also include fit image to generate a bootable image.
Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Stefano Babic <sbabic@denx.de>
show more ...
|
e246bfcf | 17-Nov-2018 |
Ye Li <ye.li@nxp.com> |
SPL: Add HAB image authentication to FIT
Introduce two board level callback functions to FIT image loading process, and a SPL_FIT_FOUND flag to differentiate FIT image or RAW image.
Implement funct
SPL: Add HAB image authentication to FIT
Introduce two board level callback functions to FIT image loading process, and a SPL_FIT_FOUND flag to differentiate FIT image or RAW image.
Implement functions in imx common SPL codes to call HAB funtion to authenticate the FIT image. Generally, we have to sign multiple regions in FIT image: 1. Sign FIT FDT data (configuration) 2. Sign FIT external data (Sub-images)
Because the CSF supports to sign multiple memory blocks, so that we can use one signature to cover all regions in FIT image and only authenticate once. The authentication should be done after the entire FIT image is loaded into memory including all sub-images. We use "-p" option to generate FIT image to reserve a space for FIT IVT and FIT CSF, also this help to fix the offset of the external data (u-boot-nodtb.bin, ATF, u-boot DTB).
The signed FIT image layout is as below: -------------------------------------------------- | | | | | | | | | FIT | FIT | FIT | | U-BOOT | ATF | U-BOOT | | FDT | IVT | CSF | | nodtb.bin | | DTB | | | | | | | | | --------------------------------------------------
Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
show more ...
|
08337cd6 | 21-Dec-2018 |
Bin Meng <bmeng.cn@gmail.com> |
riscv: bootm: Support booting VxWorks
Register the 'bootm' function for booting VxWorks kernel for RISC-V architecture.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
f2a53c76 | 21-Dec-2018 |
Bin Meng <bmeng.cn@gmail.com> |
bootm: vxworks: Make do_bootm_vxworks() non-static
For future extension to other architectures, make do_bootm_vxworks() a non-static function.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
7ebfb378 | 21-Dec-2018 |
Bin Meng <bmeng.cn@gmail.com> |
bootm: vxworks: Make do_bootvx_fdt() static
Change the scope of do_bootvx_fdt() to static since it is only used in common/bootm_os.c.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> /openbmc/u-boot/.travis.yml/openbmc/u-boot/Kconfig/openbmc/u-boot/MAINTAINERS/openbmc/u-boot/Makefile/openbmc/u-boot/api/api_storage.c/openbmc/u-boot/arch/Kconfig/openbmc/u-boot/arch/arm/dts/Makefile/openbmc/u-boot/arch/arm/dts/exynos5250-smdk5250.dts/openbmc/u-boot/arch/arm/dts/exynos5250-snow.dts/openbmc/u-boot/arch/arm/dts/exynos5250-spring.dts/openbmc/u-boot/arch/arm/dts/exynos5250.dtsi/openbmc/u-boot/arch/arm/dts/exynos5420-peach-pit.dts/openbmc/u-boot/arch/arm/dts/exynos5420-smdk5420.dts/openbmc/u-boot/arch/arm/dts/exynos54xx.dtsi/openbmc/u-boot/arch/arm/dts/exynos5800-peach-pi.dts/openbmc/u-boot/arch/arm/dts/hi3798cv200-u-boot.dtsi/openbmc/u-boot/arch/arm/dts/meson-axg-s400-u-boot.dtsi/openbmc/u-boot/arch/arm/dts/rk3288-evb.dtsi/openbmc/u-boot/arch/arm/dts/rk3399-puma.dtsi/openbmc/u-boot/arch/arm/dts/rv1108-elgin-r1.dts/openbmc/u-boot/arch/arm/dts/uniphier-ld11.dtsi/openbmc/u-boot/arch/arm/dts/uniphier-ld20-global.dts/openbmc/u-boot/arch/arm/dts/uniphier-ld20-ref.dts/openbmc/u-boot/arch/arm/dts/uniphier-ld20.dtsi/openbmc/u-boot/arch/arm/dts/uniphier-ld4.dtsi/openbmc/u-boot/arch/arm/dts/uniphier-pinctrl.dtsi/openbmc/u-boot/arch/arm/dts/uniphier-pro4-ace.dts/openbmc/u-boot/arch/arm/dts/uniphier-pro4-sanji.dts/openbmc/u-boot/arch/arm/dts/uniphier-pro4.dtsi/openbmc/u-boot/arch/arm/dts/uniphier-pro5.dtsi/openbmc/u-boot/arch/arm/dts/uniphier-pxs2.dtsi/openbmc/u-boot/arch/arm/dts/uniphier-pxs3.dtsi/openbmc/u-boot/arch/arm/dts/uniphier-sld8.dtsi/openbmc/u-boot/arch/arm/mach-exynos/clock.c/openbmc/u-boot/arch/arm/mach-exynos/clock_init_exynos5.c/openbmc/u-boot/arch/arm/mach-exynos/common_setup.h/openbmc/u-boot/arch/arm/mach-exynos/include/mach/clock.h/openbmc/u-boot/arch/arm/mach-exynos/include/mach/cpu.h/openbmc/u-boot/arch/arm/mach-exynos/include/mach/gpio.h/openbmc/u-boot/arch/arm/mach-exynos/pinmux.c/openbmc/u-boot/arch/arm/mach-exynos/power.c/openbmc/u-boot/arch/arm/mach-k3/config.mk/openbmc/u-boot/arch/arm/mach-mediatek/mt7629/lowlevel_init.S/openbmc/u-boot/arch/arm/mach-mvebu/cpu.c/openbmc/u-boot/arch/arm/mach-omap2/am33xx/board.c/openbmc/u-boot/arch/arm/mach-omap2/omap3/Kconfig/openbmc/u-boot/arch/arm/mach-omap2/omap3/clock.c/openbmc/u-boot/arch/arm/mach-rockchip/rv1108/Kconfig/openbmc/u-boot/arch/arm/mach-socfpga/Kconfig/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/mailbox_s10.h/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/misc.h/openbmc/u-boot/arch/arm/mach-socfpga/mailbox_s10.c/openbmc/u-boot/arch/arm/mach-socfpga/misc.c/openbmc/u-boot/arch/arm/mach-socfpga/misc_arria10.c/openbmc/u-boot/arch/arm/mach-socfpga/misc_gen5.c/openbmc/u-boot/arch/arm/mach-socfpga/misc_s10.c/openbmc/u-boot/arch/arm/mach-uniphier/board_late_init.c/openbmc/u-boot/arch/mips/Kconfig/openbmc/u-boot/arch/mips/Makefile/openbmc/u-boot/arch/mips/cpu/cpu.c/openbmc/u-boot/arch/mips/dts/Makefile/openbmc/u-boot/arch/mips/dts/ar933x.dtsi/openbmc/u-boot/arch/mips/dts/brcm,bcm6318.dtsi/openbmc/u-boot/arch/mips/dts/brcm,bcm63268.dtsi/openbmc/u-boot/arch/mips/dts/brcm,bcm6328.dtsi/openbmc/u-boot/arch/mips/dts/brcm,bcm6338.dtsi/openbmc/u-boot/arch/mips/dts/brcm,bcm6348.dtsi/openbmc/u-boot/arch/mips/dts/brcm,bcm6358.dtsi/openbmc/u-boot/arch/mips/dts/brcm,bcm6362.dtsi/openbmc/u-boot/arch/mips/dts/brcm,bcm6368.dtsi/openbmc/u-boot/arch/mips/dts/ci20.dts/openbmc/u-boot/arch/mips/dts/comtrend,ar-5315u.dts/openbmc/u-boot/arch/mips/dts/comtrend,ar-5387un.dts/openbmc/u-boot/arch/mips/dts/comtrend,ct-5361.dts/openbmc/u-boot/arch/mips/dts/comtrend,vr-3032u.dts/openbmc/u-boot/arch/mips/dts/comtrend,wap-5813n.dts/openbmc/u-boot/arch/mips/dts/huawei,hg556a.dts/openbmc/u-boot/arch/mips/dts/jz4780.dtsi/openbmc/u-boot/arch/mips/dts/luton_pcb091.dts/openbmc/u-boot/arch/mips/dts/mscc,luton.dtsi/openbmc/u-boot/arch/mips/dts/mscc,ocelot.dtsi/openbmc/u-boot/arch/mips/dts/mscc,ocelot_pcb.dtsi/openbmc/u-boot/arch/mips/dts/netgear,dgnd3700v2.dts/openbmc/u-boot/arch/mips/dts/nexys4ddr.dts/openbmc/u-boot/arch/mips/dts/ocelot_pcb120.dts/openbmc/u-boot/arch/mips/dts/ocelot_pcb123.dts/openbmc/u-boot/arch/mips/dts/qca953x.dtsi/openbmc/u-boot/arch/mips/dts/sagem,f@st1704.dts/openbmc/u-boot/arch/mips/dts/sfr,nb4-ser.dts/openbmc/u-boot/arch/mips/include/asm/cacheops.h/openbmc/u-boot/arch/mips/include/asm/mipsregs.h/openbmc/u-boot/arch/mips/include/asm/spl.h/openbmc/u-boot/arch/mips/mach-jz47xx/Kconfig/openbmc/u-boot/arch/mips/mach-jz47xx/Makefile/openbmc/u-boot/arch/mips/mach-jz47xx/include/mach/jz4780.h/openbmc/u-boot/arch/mips/mach-jz47xx/include/mach/jz4780_dram.h/openbmc/u-boot/arch/mips/mach-jz47xx/include/mach/jz4780_gpio.h/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/Makefile/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/TODO/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/gpio.c/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/jz4780.c/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/pll.c/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/reset.c/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/sdram.c/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/timer.c/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds/openbmc/u-boot/arch/mips/mach-jz47xx/start.S/openbmc/u-boot/arch/mips/mach-mscc/Kconfig/openbmc/u-boot/arch/mips/mach-mscc/Makefile/openbmc/u-boot/arch/mips/mach-mscc/cpu.c/openbmc/u-boot/arch/mips/mach-mscc/dram.c/openbmc/u-boot/arch/mips/mach-mscc/include/ioremap.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/common.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/ddr.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/luton/luton.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/luton/luton_devcpu_gcb.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/luton/luton_icpu_cfg.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/ocelot/ocelot.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/ocelot/ocelot_devcpu_gcb.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/ocelot/ocelot_icpu_cfg.h/openbmc/u-boot/arch/mips/mach-mscc/include/mach/tlb.h/openbmc/u-boot/arch/mips/mach-mscc/lowlevel_init.S/openbmc/u-boot/arch/mips/mach-mscc/lowlevel_init_luton.S/openbmc/u-boot/arch/mips/mach-mscc/reset.c/openbmc/u-boot/arch/mips/mach-mt7620/cpu.c/openbmc/u-boot/arch/riscv/Kconfig/openbmc/u-boot/arch/riscv/Makefile/openbmc/u-boot/arch/riscv/cpu/Makefile/openbmc/u-boot/arch/riscv/cpu/ax25/Kconfig/openbmc/u-boot/arch/riscv/cpu/ax25/cache.c/openbmc/u-boot/arch/riscv/cpu/cpu.c/openbmc/u-boot/arch/riscv/cpu/mtrap.S/openbmc/u-boot/arch/riscv/cpu/qemu/Kconfig/openbmc/u-boot/arch/riscv/cpu/qemu/cpu.c/openbmc/u-boot/arch/riscv/cpu/start.S/openbmc/u-boot/arch/riscv/include/asm/csr.h/openbmc/u-boot/arch/riscv/include/asm/encoding.h/openbmc/u-boot/arch/riscv/include/asm/global_data.h/openbmc/u-boot/arch/riscv/include/asm/syscon.h/openbmc/u-boot/arch/riscv/lib/Makefile/openbmc/u-boot/arch/riscv/lib/asm-offsets.c/openbmc/u-boot/arch/riscv/lib/bootm.c/openbmc/u-boot/arch/riscv/lib/interrupts.c/openbmc/u-boot/arch/riscv/lib/rdtime.c/openbmc/u-boot/arch/riscv/lib/sifive_clint.c/openbmc/u-boot/arch/sandbox/cpu/sdl.c/openbmc/u-boot/arch/sandbox/dts/sandbox.dts/openbmc/u-boot/arch/sandbox/dts/test.dts/openbmc/u-boot/arch/sandbox/include/asm/sdl.h/openbmc/u-boot/arch/sandbox/include/asm/test.h/openbmc/u-boot/board/AndesTech/ax25-ae350/Kconfig/openbmc/u-boot/board/AndesTech/ax25-ae350/MAINTAINERS/openbmc/u-boot/board/elgin/elgin_rv1108/Kconfig/openbmc/u-boot/board/elgin/elgin_rv1108/MAINTAINERS/openbmc/u-boot/board/elgin/elgin_rv1108/Makefile/openbmc/u-boot/board/elgin/elgin_rv1108/elgin_rv1108.c/openbmc/u-boot/board/emulation/qemu-riscv/Kconfig/openbmc/u-boot/board/hisilicon/poplar/MAINTAINERS/openbmc/u-boot/board/hisilicon/poplar/poplar.c/openbmc/u-boot/board/imgtec/ci20/Kconfig/openbmc/u-boot/board/imgtec/ci20/MAINTAINERS/openbmc/u-boot/board/imgtec/ci20/Makefile/openbmc/u-boot/board/imgtec/ci20/README/openbmc/u-boot/board/imgtec/ci20/ci20.c/openbmc/u-boot/board/mscc/luton/Kconfig/openbmc/u-boot/board/mscc/luton/Makefile/openbmc/u-boot/board/mscc/luton/luton.c/openbmc/u-boot/board/mscc/ocelot/Kconfig/openbmc/u-boot/board/mscc/ocelot/Makefile/openbmc/u-boot/board/mscc/ocelot/ocelot.c/openbmc/u-boot/cmd/Makefile/openbmc/u-boot/cmd/cbfs.c/openbmc/u-boot/cmd/dm.c/openbmc/u-boot/cmd/sound.cbootm_os.c/openbmc/u-boot/configs/ae350_rv32_defconfig/openbmc/u-boot/configs/ae350_rv64_defconfig/openbmc/u-boot/configs/am335x_boneblack_vboot_defconfig/openbmc/u-boot/configs/ci20_mmc_defconfig/openbmc/u-boot/configs/comtrend_ar5315u_ram_defconfig/openbmc/u-boot/configs/comtrend_ar5387un_ram_defconfig/openbmc/u-boot/configs/comtrend_ct5361_ram_defconfig/openbmc/u-boot/configs/comtrend_vr3032u_ram_defconfig/openbmc/u-boot/configs/comtrend_wap5813n_ram_defconfig/openbmc/u-boot/configs/db-88f6820-amc_defconfig/openbmc/u-boot/configs/edison_defconfig/openbmc/u-boot/configs/elgin-rv1108_defconfig/openbmc/u-boot/configs/gardena-smart-gateway-mt7688-ram_defconfig/openbmc/u-boot/configs/gardena-smart-gateway-mt7688_defconfig/openbmc/u-boot/configs/huawei_hg556a_ram_defconfig/openbmc/u-boot/configs/linkit-smart-7688-ram_defconfig/openbmc/u-boot/configs/linkit-smart-7688_defconfig/openbmc/u-boot/configs/mscc_luton_defconfig/openbmc/u-boot/configs/mscc_ocelot_defconfig/openbmc/u-boot/configs/mscc_ocelot_pcb120_defconfig/openbmc/u-boot/configs/netgear_dgnd3700v2_ram_defconfig/openbmc/u-boot/configs/peach-pi_defconfig/openbmc/u-boot/configs/peach-pit_defconfig/openbmc/u-boot/configs/sagem_f@st1704_ram_defconfig/openbmc/u-boot/configs/sandbox64_defconfig/openbmc/u-boot/configs/sandbox_defconfig/openbmc/u-boot/configs/sandbox_flattree_defconfig/openbmc/u-boot/configs/sandbox_noblk_defconfig/openbmc/u-boot/configs/sandbox_spl_defconfig/openbmc/u-boot/configs/sfr_nb4-ser_ram_defconfig/openbmc/u-boot/configs/smdk5250_defconfig/openbmc/u-boot/configs/smdk5420_defconfig/openbmc/u-boot/configs/snow_defconfig/openbmc/u-boot/configs/spring_defconfig/openbmc/u-boot/configs/tools-only_defconfig/openbmc/u-boot/configs/uniphier_ld4_sld8_defconfig/openbmc/u-boot/configs/uniphier_v7_defconfig/openbmc/u-boot/configs/uniphier_v8_defconfig/openbmc/u-boot/doc/README.ae350/openbmc/u-boot/doc/README.commands/openbmc/u-boot/drivers/clk/uniphier/clk-uniphier-sys.c/openbmc/u-boot/drivers/core/read.c/openbmc/u-boot/drivers/core/syscon-uclass.c/openbmc/u-boot/drivers/cpu/Kconfig/openbmc/u-boot/drivers/cpu/Makefile/openbmc/u-boot/drivers/cpu/riscv_cpu.c/openbmc/u-boot/drivers/dma/Kconfig/openbmc/u-boot/drivers/dma/Makefile/openbmc/u-boot/drivers/dma/bcm6348-iudma.c/openbmc/u-boot/drivers/fpga/Kconfig/openbmc/u-boot/drivers/fpga/Makefile/openbmc/u-boot/drivers/fpga/altera.c/openbmc/u-boot/drivers/fpga/stratix10.c/openbmc/u-boot/drivers/gpio/Kconfig/openbmc/u-boot/drivers/gpio/Makefile/openbmc/u-boot/drivers/gpio/gpio-mscc-bitbang-spi.c/openbmc/u-boot/drivers/misc/Kconfig/openbmc/u-boot/drivers/misc/Makefile/openbmc/u-boot/drivers/misc/jz4780_efuse.c/openbmc/u-boot/drivers/mmc/Kconfig/openbmc/u-boot/drivers/mmc/Makefile/openbmc/u-boot/drivers/mmc/jz_mmc.c/openbmc/u-boot/drivers/mtd/nand/raw/denali.c/openbmc/u-boot/drivers/mtd/nand/raw/denali.h/openbmc/u-boot/drivers/mtd/nand/raw/denali_dt.c/openbmc/u-boot/drivers/net/Kconfig/openbmc/u-boot/drivers/net/Makefile/openbmc/u-boot/drivers/net/bcm6348-eth.c/openbmc/u-boot/drivers/net/bcm6368-eth.c/openbmc/u-boot/drivers/net/phy/phy.c/openbmc/u-boot/drivers/pinctrl/Kconfig/openbmc/u-boot/drivers/pinctrl/Makefile/openbmc/u-boot/drivers/pinctrl/mscc/Kconfig/openbmc/u-boot/drivers/pinctrl/mscc/Makefile/openbmc/u-boot/drivers/pinctrl/mscc/mscc-common.c/openbmc/u-boot/drivers/pinctrl/mscc/mscc-common.h/openbmc/u-boot/drivers/pinctrl/mscc/pinctrl-luton.c/openbmc/u-boot/drivers/pinctrl/mscc/pinctrl-ocelot.c/openbmc/u-boot/drivers/pinctrl/pinctrl-uclass.c/openbmc/u-boot/drivers/power/regulator/regulator-uclass.c/openbmc/u-boot/drivers/serial/Kconfig/openbmc/u-boot/drivers/serial/Makefile/openbmc/u-boot/drivers/serial/serial_sifive.c/openbmc/u-boot/drivers/serial/serial_stm32.c/openbmc/u-boot/drivers/sound/Kconfig/openbmc/u-boot/drivers/sound/Makefile/openbmc/u-boot/drivers/sound/codec-uclass.c/openbmc/u-boot/drivers/sound/i2s-uclass.c/openbmc/u-boot/drivers/sound/max98090.c/openbmc/u-boot/drivers/sound/max98090.h/openbmc/u-boot/drivers/sound/max98095.c/openbmc/u-boot/drivers/sound/max98095.h/openbmc/u-boot/drivers/sound/maxim_codec.c/openbmc/u-boot/drivers/sound/maxim_codec.h/openbmc/u-boot/drivers/sound/samsung-i2s.c/openbmc/u-boot/drivers/sound/samsung_sound.c/openbmc/u-boot/drivers/sound/sandbox.c/openbmc/u-boot/drivers/sound/sound-uclass.c/openbmc/u-boot/drivers/sound/sound.c/openbmc/u-boot/drivers/sound/wm8994.c/openbmc/u-boot/drivers/sound/wm8994.h/openbmc/u-boot/drivers/spi/designware_spi.c/openbmc/u-boot/drivers/tee/optee/supplicant.c/openbmc/u-boot/drivers/timer/Kconfig/openbmc/u-boot/drivers/timer/Makefile/openbmc/u-boot/drivers/timer/riscv_timer.c/openbmc/u-boot/drivers/usb/gadget/composite.c/openbmc/u-boot/drivers/usb/musb-new/sunxi.c/openbmc/u-boot/fs/cbfs/cbfs.c/openbmc/u-boot/include/altera.h/openbmc/u-boot/include/audio_codec.h/openbmc/u-boot/include/cbfs.h/openbmc/u-boot/include/configs/am335x_evm.h/openbmc/u-boot/include/configs/bmips_common.h/openbmc/u-boot/include/configs/ci20.h/openbmc/u-boot/include/configs/edison.h/openbmc/u-boot/include/configs/elgin_rv1108.h/openbmc/u-boot/include/configs/helios4.h/openbmc/u-boot/include/configs/mt7623.h/openbmc/u-boot/include/configs/omap3_igep00x0.h/openbmc/u-boot/include/configs/uniphier.h/openbmc/u-boot/include/configs/vcoreiii.h/openbmc/u-boot/include/cpu.h/openbmc/u-boot/include/dm/read.h/openbmc/u-boot/include/dm/uclass-id.h/openbmc/u-boot/include/dt-bindings/clock/bcm6318-clock.h/openbmc/u-boot/include/dt-bindings/clock/jz4780-cgu.h/openbmc/u-boot/include/dt-bindings/dma/bcm6318-dma.h/openbmc/u-boot/include/dt-bindings/dma/bcm63268-dma.h/openbmc/u-boot/include/dt-bindings/dma/bcm6328-dma.h/openbmc/u-boot/include/dt-bindings/dma/bcm6338-dma.h/openbmc/u-boot/include/dt-bindings/dma/bcm6348-dma.h/openbmc/u-boot/include/dt-bindings/dma/bcm6358-dma.h/openbmc/u-boot/include/dt-bindings/dma/bcm6362-dma.h/openbmc/u-boot/include/dt-bindings/dma/bcm6368-dma.h/openbmc/u-boot/include/environment/ti/boot.h/openbmc/u-boot/include/i2s.h/openbmc/u-boot/include/image.h/openbmc/u-boot/include/linux/kernel.h/openbmc/u-boot/include/sound.h/openbmc/u-boot/include/tee.h/openbmc/u-boot/include/vxworks.h/openbmc/u-boot/lib/crc32.c/openbmc/u-boot/lib/efi_loader/efi_runtime.c/openbmc/u-boot/lib/efi_selftest/efi_selftest_block_device.c/openbmc/u-boot/lib/hashtable.c/openbmc/u-boot/scripts/check-config.sh/openbmc/u-boot/test/dm/Makefile/openbmc/u-boot/test/dm/audio.c/openbmc/u-boot/test/dm/i2s.c/openbmc/u-boot/test/dm/sound.c/openbmc/u-boot/test/dm/test-fdt.c/openbmc/u-boot/test/overlay/Kconfig/openbmc/u-boot/tools/Makefile/openbmc/u-boot/tools/mtk_image.c |
7d98dbcc | 04-Dec-2018 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
usb: musb-new: Add support for DM_USB
Enable DM for USB peripheral in the musb-new driver. Also make sure that the driver can be used in the SPL. This implies that: * the driver must work with and w
usb: musb-new: Add support for DM_USB
Enable DM for USB peripheral in the musb-new driver. Also make sure that the driver can be used in the SPL. This implies that: * the driver must work with and without the OF_CONTROL option. That in turn, implies that the platform data can be passed in a struct ti_musb_platdata or be read from the dtb * usb.o is linked in the SPL if host support is enabled
Another change is that the driver does not fail to bind (and stop the boot process) if one of the child driver does not bind. Reporting the error is enough. This kind of error would appear if the port is configured in the DTS but the driver is not activated in the config.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
0f46fb58 | 04-Dec-2018 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
spl: net: dm: usb: bind the gadget before attempting to load the image
If DM_USB_GADGET is used, the usb ethernet gadget driver must be bound to a controller before the image can be downloaded over
spl: net: dm: usb: bind the gadget before attempting to load the image
If DM_USB_GADGET is used, the usb ethernet gadget driver must be bound to a controller before the image can be downloaded over the network. In u-boot this can be done with the bind command. In SPL it must be done programmatically.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
d50d6817 | 06-Dec-2018 |
Sekhar Nori <nsekhar@ti.com> |
spl: fix build failure with !CONFIG_SPL_PCI_SUPPORT
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
spl: fix build failure with !CONFIG_SPL_PCI_SUPPORT
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 <vigneshr@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
91ff6865 | 05-Dec-2018 |
Tom Rini <trini@konsulko.com> |
blk: Rework guard around part_init call
The function part_init() will only be built when we have both CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set. Protect the call to this function with both
blk: Rework guard around part_init call
The function part_init() will only be built when we have both CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set. Protect the call to this function with both of these tests now.
Cc: Simon Glass <sjg@chromium.org> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: York Sun <york.sun@nxp.com> Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Cc: Mingkai Hu <mingkai.hu@nxp.com> Cc: Stefan Roese <sr@denx.de> Cc: Marek Behún <marek.behun@nic.cz> Cc: Vanessa Maegima <vanessa.maegima@nxp.com> Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Adam Ford <aford173@gmail.com> Cc: Jagan Teki <jagan@amarulasolutions.com> Cc: Tom Warren <twarren@nvidia.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
51c2345b | 25-Nov-2018 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
Roll CRC16-CCITT into the hash infrastructure
The CRC16-CCITT checksum function is useful for space-constrained applications (such as obtaining a checksum across a 2KBit or 4KBit EEPROM) in boot app
Roll CRC16-CCITT into the hash infrastructure
The CRC16-CCITT checksum function is useful for space-constrained applications (such as obtaining a checksum across a 2KBit or 4KBit EEPROM) in boot applications. It has not been accessible from boot scripts until now (due to not having a dedicated command and not being supported by the hash infrstructure) limiting its applicability outside of custom commands.
This adds the CRC16-CCITT (poly 0x1021, init 0x0) algorithm to the list of available hashes and adds a new crc16_ccitt_wd_buf() to make this possible.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [trini: Fix building crc16.o for SPL/TPL] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
a740ee91 | 25-Nov-2018 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
lib: merge CRC16-CCITT into u-boot/crc.h
This merges the CRC16-CCITT headers into u-boot/crc.h to prepare for rolling CRC16 into the hash infrastructure. Given that CRC8, CRC32 and CRC32-C already
lib: merge CRC16-CCITT into u-boot/crc.h
This merges the CRC16-CCITT headers into u-boot/crc.h to prepare for rolling CRC16 into the hash infrastructure. Given that CRC8, CRC32 and CRC32-C already have their prototypes in a single header file, it seems a good idea to also include CRC16-CCITT in the same.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|