Commit df4caed7 authored by Thomas Schäfer's avatar Thomas Schäfer
Browse files

pitx-imx8m: add some distroboot env variables



- ramdisk_addr_r is required by distroboot spec.
- pxefile_addr_r is required by distroboot spec.
Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
parent dc83a107
......@@ -133,6 +133,13 @@
*/
#ifndef CONFIG_SPL_BUILD
#define DISTROBOOT_ENV_SETTINGS \
"fdt_addr_r=0x43000000\0" \
"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
"pxefile_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
"ramdisk_addr_r=0x44000000\0" \
"scriptaddr=0x40400000\0"
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 0) \
func(MMC, mmc, 1) \
......@@ -140,6 +147,7 @@
func(DHCP, dhcp, 0)
#include <config_distro_bootcmd.h>
#else
#define DISTROBOOT_ENV_SETTINGS
#define BOOTENV
#endif
......@@ -148,16 +156,14 @@
"image=Image\0" \
"splashpos=m,m\0" \
"console=ttymxc2,115200 earlycon=ec_imx6q,0x30880000\0" \
"fdt_addr_r=0x43000000\0" \
"fdt_high=0xffffffffffffffff\0" \
"boot_fdt=try\0" \
"fdtfile=pitx-imx8m_hdmi.dtb\0" \
"initrd_addr=0x43800000\0" \
"initrd_high=0xffffffffffffffff\0" \
"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
"scriptaddr=0x40400000\0" \
"boot_scripts=boot.scr.uimg boot.scr update_pitx/update.scr\0" \
"video_off=yes\0" \
DISTROBOOT_ENV_SETTINGS \
BOOTENV
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment