2 Commits

Author SHA1 Message Date
Han Gao
e0247b8a62 fix: run gpt_partition failed
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
2024-03-28 11:00:40 +00:00
Haaland Chen
2fc52cbb27 include: light-c910.h: add fdtoverlay_addr_r
Signed-off-by: Haaland Chen <haaland@milkv.io>
2024-03-27 04:06:40 -05:00
2 changed files with 5 additions and 6 deletions

View File

@@ -43,8 +43,3 @@
/delete-property/ lcd-en-gpios;
/delete-property/ lcd-bias-en-gpios;
};
&sdhci0 {
max-frequency = <35000000>;
status = "okay";
};

View File

@@ -137,6 +137,7 @@
"pxefile_addr_r=0x00600000\0" \
"dtb_addr=0x03800000\0" \
"fdt_addr_r=0x03800000\0" \
"fdtoverlay_addr_r=0x03700000\0" \
"kernel_addr_r=0x00200000\0" \
"ramdisk_addr_r=0x06000000\0" \
"boot_conf_addr_r=0xc0000000\0" \
@@ -153,12 +154,15 @@
"kdump_buf=180M\0" \
"mmcbootpart=2\0" \
"default_mmcdev=1\0" \
"emmc_dev=0\0" \
"sdcard_dev=1\0" \
"mmc_select=if test -e mmc ${default_mmcdev}:${mmcbootpart} ${boot_conf_file}; then mmcdev=1; else mmcdev=0; fi;\0" \
"boot_conf_file=/extlinux/extlinux.conf\0" \
"uuid_rootfsA=80a5a8e9-c744-491a-93c1-4f4194fd690a\0" \
"uuid_swap=5ebcaaf0-e098-43b9-beef-1f8deedd135e\0" \
"partitions=name=table,size=2031KB;name=boot,size=500MiB,type=boot;name=swap,size=4096MiB,type=swap,uuid=${uuid_swap};name=root,size=-,type=linux,uuid=${uuid_rootfsA}\0" \
"gpt_partition=gpt write mmc ${mmcdev} $partitions\0" \
"gpt_partition=gpt write mmc ${emmc_dev} $partitions\0" \
"sdcard_gpt_partition=gpt write mmc ${sdcard_dev} $partitions\0" \
"load_aon=load mmc ${mmcdev}:${mmcbootpart} $fwaddr light_aon_fpga.bin;cp.b $fwaddr $aon_ram_addr $filesize\0" \
"load_c906_audio=load mmc ${mmcdev}:${mmcbootpart} $fwaddr light_c906_audio.bin;cp.b $fwaddr $audio_ram_addr $filesize\0" \
"load_str=load mmc ${mmcdev}:${mmcbootpart} $fwaddr str.bin;cp.b $fwaddr $str_ram_addr $filesize\0" \