Age | Commit message (Collapse) | Author |
|
update-to-5.15.52_2.1.0__toradex_imx_lf_v2022.04
|
|
Drop obsolete networking/PHY related configuration defines.
Upstream-Status: Submitted [https://lore.kernel.org/all/20220921113419.1088398-1-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Update the distro config env memory layout for the Verdin iMX8M Mini and
Verdin iMX8M Plus:
- loadaddr=0x48200000 allows for 128MB area for uncompressing (ie FIT
images, kernel_comp_addr_r, kernel_comp_size)
- fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel
- scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt
- ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script
Memory layout taken from commit fd5c7173ade4
("imx8m{m,n}_venice: update env memory layout").
Note that for our regular BSP Layers and Reference Images for Yocto
Project an updated distro boot script is required (see
meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-distro-boot).
Upstream-Status: Submitted [https://lore.kernel.org/all/20220819051827.185560-2-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Align default ip address with other Toradex boards.
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
|
|
Use the same name of DHCP Distroboot script as in regular eMMC case
Upstream-Status: Backport [1377a776c3f9c8580462f42a5d078976e5eec3ee]
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
(cherry picked from commit 8aa931d8f78e8cf5b2c84421314ef47971384778)
|
|
* origin/imx_v2022.04: (9 commits)
LFU-384 board: freescale: imx8m[q,m,n,p]_evk: add per system GUID
capsule: board: Add information needed for capsule updates
doc: uefi: Update the capsule update related documentation
mkeficapsule: Remove raw and FIT GUID types
FMP: Remove GUIDs for FIT and raw images
...
|
|
Add Per system GUID for SR-IR-2.0
Reviewed-by: Ye Li <ye.li@nxp.co>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
|
|
* origin/imx_v2022.04:
MLK-26005 configs: imx93: modify mem=
|
|
Ethosu occupies 0x10000000 DRAM from 0xc0000000 so that increase mem= by
256MB to include it.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
* origin/imx_v2022.04:
LFU-381 imx93_evk: Fix conflict SPL early malloc address
|
|
Because the early malloc pool size is set to 0x18000, so using this
start address may cause conflict with ATF, then corrupt the heap data.
So we delete the definition to use the default early malloc pool from
CONFIG_SPL_STACK to avoid any conflict
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
|
|
systemd prints its messages on the last console= statement that it finds
in the kernel arguments. The current ordering sends the systemd messages
to tty1, by default this is the display.
Ensure that systemd sends its messages to the default UART, reorder the
console= statements accordingly.
Upstream-Status: Backport [a3f2dcf8f44445703a1919a5fa83b4328b244f92]
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
* origin/imx_v2022.04:
LFU-376 imx93_evk: Change ethprime to eQOS port for default
LFU-378 imx8ulp: Hang the u-boot when M33 is not loaded
LFU-377-2 imx: spl_imx_romapi: Get and print boot stage
LFU-377-1 imx: container: Skip container set check for ROM API
|
|
To align with iMX8MP, use eQOS port as default ethernet port, so
set ethprime to eth1
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
* origin/imx_v2022.04:
MA-20481-2 Enable round mipi-panel usmp-rm67162 for imx8ulp watch board
MA-20481-1 Add board files and defconfig for imx8ulp watch board
|
|
New imx8ulp_watch files are based on imx8ulp_evk and modified for watch board.
Change-Id: I0ad6130cd7df60cb453abb9adcf36242f3cc0fd5
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
|
|
* remotes/origin/ls_v2022.04:
LF-6627: ls1043ardb: nand driver fixups for revision v7.0 boards
board: ls1043ardb: fdt fixups for revision v7.0 boards
|
|
The LS1043ARDB rev v7.0 board replaces the AQR105 PHY on MAC9 with an
AQR113C PHY. The address of the PHY on the MDIO bus changes from 0x1 to
0x8. Enable CONFIG_OF_BOARD_FIXUP and update both u-boot and Linux device
trees to reflect this change.
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
|
|
* origin/imx_v2022.04: (11 commits)
LFU-332-10: configs: imx8mm: ab2 target board config options
LFU-332-9: include: configs: imx8mm ab2: board configs
LFU-332-8: dts: arm: imx8mm ab2: target board support
LFU-332-7: arm: mach imx8m: imx8mm ab2 target board configs
LFU-332-6: board: freescale: imx8mm ab2: target board support
...
|
|
Common config options for imx8m mini audio board 2
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
Common config options for imx8m nano audio board 2
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
commit fc102c87c11dfd52039326534ff831d3edd8340d upstream.
The Colibri PXA270 has been end-of-life since quite a while and would
require more and more maintenance (e.g. DM conversions).
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
commit 47bcc0d056aa243a31d2a1edb44bdcd155f5335b upstream.
Drop Apalis iMX8X platform as it never left sample state and is no
longer supported.
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
If wanna to use linux remoteproc to start Mcore, `run prepare_mcore`.
It does not matter to add it if using U-Boot bootaux to start mcore.
So this bootargs could be default added with U-Boot start or Linux
start.
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
|
|
* origin/imx_v2022.04:
LF-6555 imx8m[m/n/p/q]_evk: add bootargs to support mcore
|
|
* origin/imx_v2022.04: (88 commits)
MLK-25975 imx93: Update pinctrl header file in DTS and arch
LFU-360 net: phy: realtek: add support for RTL8821F(D)(I)-VD-CG
MLK-25898 ddr: imx9: Add workaround for DDRPHY rank-to-rank errata
MLK-25965-13 imx93_evk: Enable MIPI DSI splash screen
MLK-25965-12 DTS: imx93-11x11-evk: Add nodes for MIPI DSI display
...
|
|
Run jh_mmcboot/jh_netboot and then can run Jailhouse.
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
|
|
Add board codes and defconfig for i.MX93 11x11 EVK board.
Supported functions:
UART, USB host/gadget/typc/pd, I2C, DDR, clock, SD/eMMC,
eQoS, FEC, GPIO, IO Expander, PMIC.
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
|
|
* origin/imx_v2022.04:
MA-20327 imx8q: add dual bootloader support
|
|
Add dual bootloader support for imx8q platforms.
Change-Id: I8ba5e74e1a442c0210725c07e869eab3c82a60dc
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
* origin/imx_v2022.04:
LFU-341 mx7d_val: Fix mmcpart typo
|
|
Delete a blank space from mmcpart variable
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
* origin/imx_v2022.04:
MA-20307 imx8mq: enlarge spl max size
|
|
Enlarge the spl max limits to fix build break.
Change-Id: I828bb00aeab3f7236d83d251922a4829af2d196a
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
* origin/imx_v2022.04:
MA-20303-2 Enable configs to check rollback index
MA-20303-1 Support rollback index check for single bootloader
|
|
Enable related configs to support the rollback index check
in single bootloader case.
Change-Id: I836a39fdf4b67e6358af8ef5db0cba489d271d43
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
* origin/ls_v2022.04:
config: ls2088ardb: Add config CONFIG_SYS_FLASH_CFI_WIDTH
|
|
Add config CONFIG_SYS_FLASH_CFI_WIDTH as FLASH_CFI_16BIT to
fix flash writing issue on ls2088ardb platform introduced by the
commit '53879b1738'
(cfi_flash: Fix detection of 8-bit bus flash devices via address shift)
Signed-off-by: Priyanka Singh <priyanka.singh@nxp.com>
|
|
* origin/imx_v2022.04:
MA-20225 imx8ulp: guard get_board_serial() with CONFIG_SERIAL_TAG
|
|
Guard the get_board_serial() for imx8ulp with CONFIG_SERIAL_TAG to
align with other platforms.
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
* origin/ls_v2022.04:
configs: Layerscape: Add 'fdt_addr' env with DRAM address
configs: Layerscape: Remove the 'fdt_addr' env
net: e1000: Fix Unchecked return value coverity
|
|
* origin/imx_v2022.04: (111 commits)
MA-20210 Set the RDC permission of Domain2 to TEE memory.
MA-19038 Android: Add imx8/imx8m/imx8ulp reference boards support
MA-20190 Add init_boot support
MA-20102 relocate ramdisk for address overlap
MA-19871 Set RDC/CSU policy by default for secure video pipeline
...
|
|
Add configs to support imx8/imx8m/imx8ulp reference boards, each platform
has specific header files include.
Test: sanity test on imx8/imx8m/imx8ulp platforms.
Change-Id: I05708fbc108a78ac9b3415cb782bf1013e2f7012
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
To work around distro boot issue caused by the EFI boot process
change (refer to LFU-189), add a 'fdt_addr' env pointing to
a DRAM address, in which there isn't valid DTB, to let bootefi
get invalid DTB and then skip EFI boot.
This is a workaround patch, remove it when the EFI boot feature
has been supported or the U-Boot DTB has been modified to
compatibile with Linux.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
|
On Layerscape platforms, the DTB is loaded from boot filesystem,
per the fdt_addr description in doc/README.distro, it must be
removed.
And on many platforms, like ls1046a, ls1088a, ls2088a and lx216xa,
the 'fdt_addr' pointed address is not accessible.
And with the current EFI boot process, since the EFI_LOADER and
CMD_BOOTEFI_BOOTMGR are enabled by default, if the EFI boot
components are not deployed in the boot filesystem, it will try
to get DTB at address 'fdt_addr' and then result in "SError" or
"Synchronous Abort":
Error log on ls1046ardb:
=> run distro_bootcmd
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk esdhc@1560000.blk...
Found 5 disks
No EFI system partition
"Error" handler, esr 0xbf000000
elr: 00000000820704f4 lr : 00000000820080d4 (reloc)
elr: 00000000fbd914f4 lr : 00000000fbd290d4
x0 : 0000000064f00000 x1 : 00000000edfe0dd0
x2 : 0000000000000000 x3 : 0000000000000000
x4 : 00000000fbc2ee1a x5 : 000000000000000f
x6 : 0000000000000000 x7 : 0000000000000008
x8 : 0000000000000010 x9 : 0000000000000008
x10: 0000000000000044 x11: 00000008ffff0220
x12: 00000000fbdaa748 x13: 00000000fbda70f8
x14: 00000000fbd21d20 x15: 00000000fbc194e8
x16: 00000000fbd70fc8 x17: 0000000000000000
x18: 00000000fbc1cdb0 x19: 00000000fbd21bf0
x20: 0000000064f00000 x21: 00000000fbda6fb8
x22: 0000000000000018 x23: 0000000000000018
x24: 00000000fbde6344 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000fbc53660 x29: 00000000fbc19220
Code: 7a419060 1a9f3000 a8c17bfd d65f03c0 (12800100)
Resetting CPU ...
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
|
* origin/ls_v2022.04: (16 commits)
armv8: layerscape: fix the function mismatch issue
net: phy: atheros: avoid error in ar803x_of_init() when PHY has no OF node
board: fsl: lx2160aqds: include the lx2160a.h header
board: fsl: lx2160aqds: add support for SERDES #1 protocol 14
board: fsl: lx2160aqds: add support for SERDES #1 protocol 13
...
|
|
The device IDs are provisioned from bootloader, this commit
add commands to provision the deivce IDs:
$ fastboot oem append-device-id
Test: Device IDs provision and attest.
Change-Id: Id3c737d3da02f7ba463e51b0525f3cb9bcf0c6d1
Signed-off-by: Ji Luo <ji.luo@nxp.com>
(cherry picked from commit 7575ac07ac625c35269868511297385a69c96196)
(cherry picked from commit 7f300b1fc543d8f4cbe7329a78e31273678162a5)
(cherry picked from commit 9cef720d338cd24edcf59d957543a5ff82eef4ac)
|
|
The old boot control logic and misc data struct is based on the
'external/avb/libavb_ab' library which is already marked as
deprecated and won't be maintained by google anymore:
commit 37f5946d0e1159273eff61dd8041377fedbf55a9
Author: David Zeuthen <zeuthen@google.com>
Date: Wed Sep 20 15:02:32 2017 -0400
Deprecate libavb_ab and bootctrl.avb code.
This code was already marked as experimental in anticipation of being
removed in the future. Officially deprecate it and set Jun 1 2018 as
the date it will be removed. This should give users of the code ample
time to fork/migrate.
To keep using the code AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED
must be defined.
The reason for deprecating this code is twofold:
- Its policy was optimized for devices without a display with
e.g. automatic fallback to the other slot if a slot fails to
boot. Since most A/B stacks in Android devices don't work this
way this code is confusing.
- There are no known active users, no good test coverage for the
bootctrl.avb code, and no plans to use it.
When the code is removed we'll provide an easy transition path by
keeping (but renaming) the |ab_ops| member in AvbOps.
Change-Id: Id5e090a2048076d36ccca2e1c4cb55e226b8b43d
Google has provided a new boot control v1.1 implementation under
'hardware/interfaces/boot/1.1/default' which uses a new misc data struct defined
in the 'include/android_bootloader_message.h'. This commit adds a new boot control
implementation in bootloader, which combines the new misc data struct and inherit
some flow in 'libavb_ab', the old 'libavb_ab' library will be removed.
Test: boot/slot switch/retry count test on single&dual bootloader.
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Change-Id: I0fa1ee8562c83afec549c8f6aad7a26a2214f626
(cherry picked from commit 29aafaf065d1688201d014213052863ec9d18e9c)
(cherry picked from commit f5cda163c1559480a43e75869747a50787fd0ee1)
(cherry picked from commit a45dca90ff92f548f157f8739a76f249ca8241cb)
|
|
Fixing imx8qm_mek_cockpit_a72_defconfig build break due to missing HDPRX_LOAD_ENV define.
Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
Reviewed-by: Nitin Garg <nitin.garg@nxp.com>
(cherry picked from commit a3f15e3bb4b3b27bd994bfb026ba0fe7321d2161)
|
|
When using distro boot with extlinux.conf, need define the fdtoverlay_addr_r
to enable fdt overlay
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit ed2f47e9c535e0c9088989c13bcaaeedc435ae15)
|