Skip to content

Commit

Permalink
conf/demosoc: change linux kernel load offset to 0x03000000
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Sep 11, 2023
1 parent 94d178c commit 2235ac7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions conf/demosoc/uboot.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test -z "${dtbimg}" && setenv dtbimg ${bootloc}/kernel.dtb

echo "Boot images located in ${bootloc}"
echo "Loading kernel: ${kernelimg}"
fatload mmc 0 0xa1000000 ${kernelimg}
fatload mmc 0 0xa3000000 ${kernelimg}
echo "Loading ramdisk: ${rootfsimg}"
fatload mmc 0 0xa8300000 ${rootfsimg}
if test -e mmc 0 ${dtbimg} ; then
Expand All @@ -15,4 +15,4 @@ else
echo "${dtbimg} not found, ignore it"
fi
echo "Starts booting from SD"
bootm 0xa1000000 0xa8300000 0xa8000000
bootm 0xa3000000 0xa8300000 0xa8000000
2 changes: 1 addition & 1 deletion conf/demosoc/uboot_rv64imac_flash_config
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ CONFIG_SPI_FLASH_WINBOND=y
CONFIG_RISCV_SBI_CONSOLE=y
CONFIG_HEXDUMP=y
CONFIG_USE_BOOTCOMMAND=y
CONFIG_BOOTCOMMAND="bootm 0xA1000000 0xA8300000 0xA8000000"
CONFIG_BOOTCOMMAND="bootm 0xA3000000 0xA8300000 0xA8000000"
2 changes: 1 addition & 1 deletion conf/demosoc/uboot_rv64imafdc_flash_config
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ CONFIG_SPI_FLASH_WINBOND=y
CONFIG_RISCV_SBI_CONSOLE=y
CONFIG_HEXDUMP=y
CONFIG_USE_BOOTCOMMAND=y
CONFIG_BOOTCOMMAND="bootm 0xA1000000 0xA8300000 0xA8000000"
CONFIG_BOOTCOMMAND="bootm 0xA3000000 0xA8300000 0xA8000000"

0 comments on commit 2235ac7

Please sign in to comment.