| #
fcf012f8 |
| 08-Apr-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: Kconfig: add config SPL_KERNEL_COMPRESS_ADDR & SPL_RAMDISK_COMPRESS_ADDR
Load compressed kernel and ramdisk firmwares in these addresses.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Ch
spl: Kconfig: add config SPL_KERNEL_COMPRESS_ADDR & SPL_RAMDISK_COMPRESS_ADDR
Load compressed kernel and ramdisk firmwares in these addresses.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Icca49069fcaa08c19f5ef574d9ec4f803dbba6d1
show more ...
|
| #
41bb8b73 |
| 07-Apr-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
Conflicts: common/spl/spl_rkfw.c drivers/pinctrl/pinctrl-rockchip.c make.sh
Change-Id: I93f4dbe1e067c3b938bf64c4964bd5e7023b1daf Signed-off-by: Joseph C
Merge branch 'next-dev' into thunder-boot
Conflicts: common/spl/spl_rkfw.c drivers/pinctrl/pinctrl-rockchip.c make.sh
Change-Id: I93f4dbe1e067c3b938bf64c4964bd5e7023b1daf Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
440eb126 |
| 12-Mar-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: rkfw: add boot_sector to seperate uboot and boot load-address
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I04e2b00a8615fee24ee7722ab7bb9ad4931f4332
|
| #
e1e9b173 |
| 28-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
cc668fbc |
| 12-Mar-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
driver: Makefile: support PWM in spl
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I3ca97f634acae8c2d9de0b5e003776bccb14cd1b
|
| #
2d7c904f |
| 12-Mar-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
driver: Makefile: support adc in SPL
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I915becbf9597aa070001d3368d8daf9079565fc9
|
| #
1a4f6af8 |
| 02-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
dd04b7cb |
| 17-Feb-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: add SPL_KERNEL_BOOT
Change-Id: I6460bf6fa4535c60d956bba6c3c2f00b6b61bf45 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
49f617a9 |
| 17-Feb-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: support SPL_KERNEL_ADDR & SPL_FDT_ADDR & SPL_RAMDISK_ADDR
Change-Id: I9c8d4ba9118c7c22504753a3c9de33706bea04fd Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
09b32b41 |
| 17-Jan-2019 |
Andrew F. Davis <afd@ti.com> |
UPSTREAM: spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU
The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT to allow for cle
UPSTREAM: spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU
The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT to allow for cleaner use in code.
Conflicts: arch/arm/mach-zynqmp/spl.c common/Makefile common/spl/Kconfig common/spl/spl_ram.c
Change-Id: I93f09d5953284d511df135e6e71c03c0552719a2 Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Lukasz Majewski <lukma@denx.de> (cherry picked from commit 6536ca4d6676bf38e50784298e713edc30b9cde9)
show more ...
|
| #
eccca8a3 |
| 10-Jan-2019 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
UPSTREAM: Kconfig: rename CONFIG_SPL_USB_GADGET as CONFIG_SPL_USB_GADGET
The SPL option for USB gadget should be named after the option for u-boot (CONFIG_USB_GADGET)
Conflicts: arch/arm/mach-imx/
UPSTREAM: Kconfig: rename CONFIG_SPL_USB_GADGET as CONFIG_SPL_USB_GADGET
The SPL option for USB gadget should be named after the option for u-boot (CONFIG_USB_GADGET)
Conflicts: arch/arm/mach-imx/mx6/Kconfig arch/arm/mach-imx/spl.c configs/am335x_boneblack_vboot_defconfig configs/am335x_evm_usbspl_defconfig configs/am43xx_evm_defconfig configs/am43xx_hs_evm_defconfig configs/imx6q_logic_defconfig configs/mx6memcal_defconfig configs/mx6sabresd_defconfig configs/pico-hobbit-imx6ul_defconfig configs/pico-hobbit-imx7d_defconfig configs/pico-imx6ul_defconfig configs/pico-imx7d_defconfig configs/pico-pi-imx6ul_defconfig configs/pico-pi-imx7d_defconfig drivers/Makefile
Change-Id: I51305422f13cb7d743274f82c531000c0f93c144 Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit f811e9763f4b6f6f5e3fe9c2fa30d2b6c62d289e)
show more ...
|
| #
46b16a76 |
| 06-Nov-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: add SPL_KERNEL_BOOT
Change-Id: Idc16c6c6fc5fb6b2a394f6e431b93a11fd3526bc Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
6d8fffba |
| 24-Sep-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: support SPL_KERNEL_ADDR & SPL_FDT_ADDR & SPL_RAMDISK_ADDR
Change-Id: I8b7fdfab958c8a24a2f5c87565d32d1c89442491 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
0cc16201 |
| 26-Jul-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: spl: ab: add ab interface to get slot info
Change-Id: Iffd16dfcf9014b024e522639cbcd851f002b742e Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
da748245 |
| 05-Feb-2019 |
Vignesh R <vigneshr@ti.com> |
UPSTREAM: mtd: spi: Add lightweight SPI flash stack for SPL
Add a tiny SPI flash stack that just supports reading data/images from SPI flash. This is useful for boards that have SPL size constraints
UPSTREAM: mtd: spi: Add lightweight SPI flash stack for SPL
Add a tiny SPI flash stack that just supports reading data/images from SPI flash. This is useful for boards that have SPL size constraints and would need to use SPI flash framework just to read images/data from flash. There is approximately 1.5 to 2KB savings with this.
Based on prior work of reducing spi flash id table by Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Change-Id: I9b87d3ed4a01d2ce31eee327b67689e5e2ecff57 Signed-off-by: Vignesh R <vigneshr@ti.com> Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Tested-by: Stefan Roese <sr@denx.de> Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by: Jagan Teki <jagan@openedev.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 778572d7cb1e2df678340fda9b081e4f7bd6c4b3)
show more ...
|
| #
2359fc6f |
| 05-Feb-2019 |
Vignesh R <vigneshr@ti.com> |
UPSTREAM: mtd: spi: spi-nor-core: Add SFDP support
Sync Serial Flash Discoverable Parameters (SFDP) parsing support from Linux. This allows auto detection and configuration of Flash parameters.
Sig
UPSTREAM: mtd: spi: spi-nor-core: Add SFDP support
Sync Serial Flash Discoverable Parameters (SFDP) parsing support from Linux. This allows auto detection and configuration of Flash parameters.
Signed-off-by: Vignesh R <vigneshr@ti.com> Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Tested-by: Stefan Roese <sr@denx.de> Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by: Jagan Teki <jagan@openedev.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed Change-Id: I595586c8e491a56b6819182bc30de8e7f70b9476 Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 0c6f187cdb18b52bcf6d3964771cf3a36b758568)
show more ...
|
| #
cfcc706c |
| 16-Aug-2018 |
Miquel Raynal <miquel.raynal@bootlin.com> |
UPSTREAM: mtd: move NAND files into a raw/ subdirectory
NAND flavors, like serial and parallel, have a lot in common and would benefit to share code. Let's move raw (parallel) NAND specific code in
UPSTREAM: mtd: move NAND files into a raw/ subdirectory
NAND flavors, like serial and parallel, have a lot in common and would benefit to share code. Let's move raw (parallel) NAND specific code in a raw/ subdirectory, to ease the addition of a core file in nand/ and the introduction of a spi/ subdirectory specific to SPI NANDs.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Change-Id: Ibb56f85620c4798fb579be3e4e30438963b7c48b Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit a430fa06a4ac50e785fdbfb7f43c3cb14b35619c)
show more ...
|
| #
13c5d8ec |
| 11-Jun-2019 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: spl: add rockchip image load support
This patch add SPL support to load rockchip images(trust and U-Boot).
Change-Id: I4f66dbd26af051feb93dfaca57062fd31b3dc695 Signed-off-by: Joseph Chen
rockchip: spl: add rockchip image load support
This patch add SPL support to load rockchip images(trust and U-Boot).
Change-Id: I4f66dbd26af051feb93dfaca57062fd31b3dc695 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
dced428b |
| 29-Apr-2019 |
Andy Yan <andy.yan@rock-chips.com> |
spl: add relocation support
Some times we want to relocate spl code to dram after dram initialization or relocate spl code to a high memory to avoid code overide.
For example on Rockchip armv8 plat
spl: add relocation support
Some times we want to relocate spl code to dram after dram initialization or relocate spl code to a high memory to avoid code overide.
For example on Rockchip armv8 platform, we run with boot flow TPL->SPL->ATF->U-Boot.
TPL run in sram and is responsible for dram initialization. SPL run from the start address of dram and is responsible for loading ATF and U-Boot.
The case here is that the ATF load address is from 64KB of dram, which overlaps with spl code itself.
So we want to relocate spl itself to high memory to aovid this.
Change-Id: Ifcae4444c04fa1208406b51196cf8737277ace90 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|
| #
ba5fd738 |
| 06-Jul-2018 |
YouMin Chen <cym@rock-chips.com> |
rockchip: tpl: rename CONFIG_TINY_TPL to CONFIG_TPL_TINY_FRAMEWORK
Change-Id: Ia05a73467578f5620a9ba168e67bcfb02c40e1d0 Signed-off-by: YouMin Chen <cym@rock-chips.com>
|
| #
30129f2f |
| 30-Jan-2018 |
David Wu <david.wu@rock-chips.com> |
config: Add CONFIG_TINY_TPL to disable SPL framework at TPL
Some devices cann't use SPL framework at TPL stage, but the CONFIG_SPL_FRAMEWORK is still defined at TPL stage, so need to separate them w
config: Add CONFIG_TINY_TPL to disable SPL framework at TPL
Some devices cann't use SPL framework at TPL stage, but the CONFIG_SPL_FRAMEWORK is still defined at TPL stage, so need to separate them with CONFIG_TINY_TPL.
If the SPL framewrok was used both at TPL and SPL stage, CONFIG_TINY_TPL is not defined. If the SPL framewrok was used at SPL stage, but not use at TPL, need to define CONFIG_TINY_TPL.
Change-Id: Iabb7e0377ee00311ca468cb8ff7544c96bd999d6 Signed-off-by: David Wu <david.wu@rock-chips.com>
show more ...
|
| #
89c73a9c |
| 20-Jan-2018 |
Kever Yang <kever.yang@rock-chips.com> |
spl: use different BOARD_INIT MACRO for spl and tpl
SPL and TPL may not always need spl_board_init() at the same time.
Change-Id: I5f26956414f1d2ff3fd2fce11a4d7759de7804fe Signed-off-by: Kever Yang
spl: use different BOARD_INIT MACRO for spl and tpl
SPL and TPL may not always need spl_board_init() at the same time.
Change-Id: I5f26956414f1d2ff3fd2fce11a4d7759de7804fe Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
099855e2 |
| 06-Sep-2017 |
Kever Yang <kever.yang@rock-chips.com> |
spl: add support to booting with OP-TEE
OP-TEE is an open source trusted OS, in armv7, its loading and running are like this: loading: - SPL load both OP-TEE and U-Boot running: - SPL run into OP-TE
spl: add support to booting with OP-TEE
OP-TEE is an open source trusted OS, in armv7, its loading and running are like this: loading: - SPL load both OP-TEE and U-Boot running: - SPL run into OP-TEE in secure mode; - OP-TEE run into U-Boot in non-secure mode;
More detail: https://github.com/OP-TEE/optee_os and search for 'boot arguments' for detail entry parameter in: core/arch/arm/kernel/generic_entry_a32.S
Change-Id: I1344a35dd11bd69ca00e9b99909e1eb610648d86 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 32470d8ebee6a9c31a7a6b82704c486ef06cf549)
show more ...
|
| #
4bba5ee7 |
| 02-Jan-2018 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option
While we expect to call a pointer to a valid FDT (or NULL) as the platform parameter to an ATF, some ATF versions are not U-Boot aware and have an insu
spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option
While we expect to call a pointer to a valid FDT (or NULL) as the platform parameter to an ATF, some ATF versions are not U-Boot aware and have an insufficiently robust (or an overzealour) parameter validation: either way, this may cause a hard-stop with uncooperative ATF versions.
This change adds the option to suppress passing a platform parameter and will always pass NULL.
Debug output from ATF w/ this option disabled (i.e. default): INFO: plat_param_from_bl2: 0x291450 Debug output from ATF w/ this option enabled: INFO: plat_param_from_bl2: 0
Change-Id: Ic13bf77aa509407563d10ad3ce790087f2d1dc07 Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit d21fb63d772d32373600abeb7afcb53033e087a7)
show more ...
|
| #
8118cce3 |
| 24-Nov-2017 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
UPSTREAM: spl: fit: add SPL_FIT_IMAGE_TINY config to reduce code-size
A minor code-size increase from the changes for tracking the os-type of FIT images and from infrastructure for recording the loa
UPSTREAM: spl: fit: add SPL_FIT_IMAGE_TINY config to reduce code-size
A minor code-size increase from the changes for tracking the os-type of FIT images and from infrastructure for recording the loadables into the the loaded FDT, broke the builds for sun50i and some OMAP2+ devices.
This change adds a new config option (enabled by default for MACH_SUN50I, MACH_SUN50I_H5 and ARCH_OMAP2PLUS) that does skips these processing steps (bringing code size down to below the limit again). The os-type is not evaluated, but assumed to be IH_OS_UBOOT (i.e. taking the code-paths intended for backward-compatibility).
Note that enabling this config option precludes any useful downstream processing, such as utilising a special calling convention for ATF or OPTEE, based on the os-type of the loadables.
Change-Id: I32036975208be6e9d9d2ad3b5376444efd693f25 Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 337bbb6297775e8e9d664e96e96004f00d1d8c02)
show more ...
|