Skip to content

Integrate u-boot-mtk/apply_patches

Commit: seco-ne/3rd-party/u-boot/u-boot-mtk@17217a67

configs: Create seco_genio700 defconfigs

--

Commit: seco-ne/3rd-party/u-boot/u-boot-mtk@fc5255da

cmd: Add new command 'dtbprobe'

Add new command 'dtbprobe' for probing & loading device tree files in firmware dedicated partitions. The command scans for partitions with specific partition type, or it is from 'boot_dtb' variable, searchs for dtb files under predefined path (/FIRMWARE/mediatek/genio-1200-evk, for example), and loads device tree and related overlays (spcified in 'list_dtbo' variable).

Since implementing probing & loading in u-boot script is too complicated, a new command is easier for implmenting the logic.

Signed-off-by: Ramax Lo ramax.lo@mediatek.com Signed-off-by: Howard Lin howard-yh.lin@mediatek.com

%% original patch: 0001-cmd-Add-new-command-dtbprobe.patch

--

Commit: seco-ne/3rd-party/u-boot/u-boot-mtk@10b702bb

cmd: Add new command to source embedded script

Add new command 'bootembedded' to run the script appended to the end of u-boot binary.

Also add new env 'bootcmd_embedded' for calling the command.

Signed-off-by: Ramax Lo ramax.lo@mediatek.com

%% original patch: 0001-cmd-Add-new-command-to-source-embedded-script.patch

--

Commit: seco-ne/3rd-party/u-boot/u-boot-mtk@5fc578f3

Revert "cmd: pxe_utils: Check fdtcontroladdr in label_boot"

This reverts commit d5ba6188dfbf6bb68354bec86e483623f1f6dae2.

Currently, mtk boot flow load the fdt stored in the FIT image to start the kernel. The reverted patch add an additional fallback from fdtcontroladdr value. Then, even if we don’t give any information to target the U-Boot’s DT, U-Boot finally target its own DT before try to find one in FIT Image, which is our chosen boot solution. Unfortunately, both DTs are different, then kernel can’t boot with U-Boot’s DT.

Signed-off-by: Alexandre Mergnat amergnat@baylibre.com

%% original patch: 0001-Revert-cmd-pxe_utils-Check-fdtcontroladdr-in-label_b.patch

Merge request reports

Loading