mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
7df55bb9b5
Both U-boot and Linux kernel have grown over the last releases and don't fit anymore in the 2M EPROM of the board. So, rework the setup to allow storing the Linux kernel image on the UBIFS NAND Flash. Also add support to FIT images as this is what the Linux kernel look like nowadays. Also increase CFG_SYS_BOOTMAPSZ to 32Mbytes and define CONFIG_SYS_BOOTM_LEN with the same value, otherwise it defaults to 8M which is not sufficient anymore with nowadays Linux kernels. And set the netmask to 255.255.255.0 as a class C address is used. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: FRANJOU Stephane <stephane.franjou@csgroup.eu>
105 lines
2.7 KiB
Text
105 lines
2.7 KiB
Text
CONFIG_PPC=y
|
|
CONFIG_TEXT_BASE=0x4000000
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_SECT_SIZE=0x2000
|
|
CONFIG_DEFAULT_DEVICE_TREE="mcr3000"
|
|
CONFIG_SYS_PROMPT="S3K> "
|
|
CONFIG_SYS_LOAD_ADDR=0x200000
|
|
CONFIG_ENV_ADDR=0x4004000
|
|
CONFIG_MPC8xx=y
|
|
CONFIG_TARGET_MCR3000=y
|
|
CONFIG_8xx_GCLK_FREQ=132000000
|
|
CONFIG_CMD_IMMAP=y
|
|
CONFIG_SYS_SIUMCR=0x00600400
|
|
CONFIG_SYS_SYPCR=0xFFFFFF8F
|
|
CONFIG_SYS_TBSCR=0x00C3
|
|
CONFIG_SYS_PISCR=0x0000
|
|
CONFIG_SYS_PLPRCR_BOOL=y
|
|
CONFIG_SYS_PLPRCR=0x00460004
|
|
CONFIG_SYS_SCCR=0x00C20000
|
|
CONFIG_SYS_SCCR_MASK=0x60000000
|
|
CONFIG_SYS_DER=0x2002000F
|
|
CONFIG_SYS_MONITOR_LEN=327680
|
|
CONFIG_FIT=y
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
CONFIG_SYS_MONITOR_BASE=0x04000000
|
|
CONFIG_BOOTDELAY=5
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="\nEnter password - autoboot in %d sec...\n"
|
|
CONFIG_AUTOBOOT_DELAY_STR="root"
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="run flashboot"
|
|
CONFIG_BOARD_EARLY_INIT_R=y
|
|
# CONFIG_HWCONFIG is not set
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_AUTO_COMPLETE is not set
|
|
CONFIG_SYS_PBSIZE=278
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_CONSOLE is not set
|
|
CONFIG_SYS_BOOTM_LEN=0x2000000
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_ASKENV=y
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_NAND=y
|
|
# CONFIG_CMD_ECHO is not set
|
|
# CONFIG_CMD_ITEST is not set
|
|
# CONFIG_CMD_SOURCE is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_MII_INIT=y
|
|
CONFIG_CMD_PING=y
|
|
# CONFIG_CMD_SLEEP is not set
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_FLASH=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_USE_IPADDR=y
|
|
CONFIG_IPADDR="192.168.0.3"
|
|
CONFIG_USE_NETMASK=y
|
|
CONFIG_NETMASK="255.255.255.0"
|
|
CONFIG_USE_SERVERIP=y
|
|
CONFIG_SERVERIP="192.168.0.1"
|
|
CONFIG_SYS_BR0_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR0_PRELIM=0x4000801
|
|
CONFIG_SYS_OR0_PRELIM=0xFFC00926
|
|
CONFIG_SYS_BR1_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR1_PRELIM=0x81
|
|
CONFIG_SYS_OR1_PRELIM=0xFE000E00
|
|
CONFIG_SYS_BR2_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR2_PRELIM=0x8000801
|
|
CONFIG_SYS_OR2_PRELIM=0xFFFF8F2A
|
|
CONFIG_SYS_BR3_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR3_PRELIM=0xC000401
|
|
CONFIG_SYS_OR3_PRELIM=0xFFFF8142
|
|
CONFIG_SYS_BR4_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR4_PRELIM=0x10000801
|
|
CONFIG_SYS_OR4_PRELIM=0xFFFF8D08
|
|
CONFIG_SYS_BR5_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR5_PRELIM=0x14000801
|
|
CONFIG_SYS_OR5_PRELIM=0xFFFF8916
|
|
CONFIG_SYS_BR6_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR6_PRELIM=0x18000801
|
|
CONFIG_SYS_OR6_PRELIM=0xFFFF0908
|
|
CONFIG_SYS_BR7_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR7_PRELIM=0x1C000001
|
|
CONFIG_SYS_OR7_PRELIM=0xFFFF810A
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_FLASH_CFI_DRIVER=y
|
|
CONFIG_FLASH_SHOW_PROGRESS=0
|
|
CONFIG_SYS_FLASH_CFI=y
|
|
CONFIG_SYS_MAX_FLASH_SECT=35
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_MPC8XX_FEC=y
|
|
# CONFIG_PCI is not set
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_WDT=y
|
|
CONFIG_LZMA=y
|