mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 04:53:42 +00:00
852480c1f4
Change splashimage which is bmp image loadaddr to 0x80200000 since stack is situated at 0x80477660 as splash framework requires bmp image to be present above stack. Change splashsource to sf to support loading bmp image from ospi flash memory. Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
38 lines
985 B
Bash
38 lines
985 B
Bash
#include <environment/ti/ti_armv7_common.env>
|
|
#include <environment/ti/mmc.env>
|
|
|
|
default_device_tree=k3-am625-sk.dtb
|
|
findfdt=
|
|
setenv name_fdt ${default_device_tree};
|
|
setenv fdtfile ${name_fdt}
|
|
name_kern=Image
|
|
console=ttyS2,115200n8
|
|
args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
|
|
${mtdparts}
|
|
run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
|
|
|
|
boot=mmc
|
|
mmcdev=1
|
|
bootpart=1:2
|
|
bootdir=/boot
|
|
rd_spec=-
|
|
init_mmc=run args_all args_mmc
|
|
get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}
|
|
get_overlay_mmc=
|
|
fdt address ${fdtaddr};
|
|
fdt resize 0x100000;
|
|
for overlay in $name_overlays;
|
|
do;
|
|
load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} &&
|
|
fdt apply ${dtboaddr};
|
|
done;
|
|
get_kern_mmc=load mmc ${bootpart} ${loadaddr}
|
|
${bootdir}/${name_kern}
|
|
get_fit_mmc=load mmc ${bootpart} ${addr_fit}
|
|
${bootdir}/${name_fit}
|
|
partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
|
|
|
|
splashfile=ti.gz
|
|
splashimage=0x80200000
|
|
splashpos=m,m
|
|
splashsource=sf
|