mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 09:58:52 +09:00
![Bin Meng](/assets/img/avatar_default.png)
QEMU ppce500 target can dynamically instantiate an eTSEC device if "-device eTSEC" is given to QEMU. This commit enables eTSEC driver and the required fixed PHY driver to create a usable network configuration using eTSEC. Unlike a real world 85xx board that usually stores the eTSEC MAC address in an EEPROM, CONFIG_NET_RANDOM_ETHADDR is required for QEMU otherwise U-Boot ethernet initialization complains no valid ethernet address is set. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
CONFIG_PPC=y
|
|
CONFIG_SYS_TEXT_BASE=0xf01000
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_MPC85xx=y
|
|
# CONFIG_CMD_ERRATA is not set
|
|
CONFIG_TARGET_QEMU_PPCE500=y
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_VERBOSE=y
|
|
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
|
CONFIG_BOOTDELAY=1
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_LAST_STAGE_INIT=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_CMD_REGINFO=y
|
|
CONFIG_CMD_BOOTZ=y
|
|
CONFIG_CMD_GREPENV=y
|
|
CONFIG_CMD_DM=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_PCI=y
|
|
CONFIG_CMD_POWEROFF=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_PING=y
|
|
# CONFIG_CMD_HASH is not set
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_DOS_PARTITION=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_BOARD=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_DM=y
|
|
CONFIG_SIMPLE_BUS_CORRECT_RANGE=y
|
|
CONFIG_BLK=y
|
|
CONFIG_HAVE_BLOCK_DEVICE=y
|
|
CONFIG_MPC8XXX_GPIO=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_FSL=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_PHY_FIXED=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_DM_MDIO=y
|
|
CONFIG_E1000=y
|
|
CONFIG_TSEC_ENET=y
|
|
CONFIG_DM_PCI=y
|
|
CONFIG_PCI_MPC85XX=y
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SYSRESET=y
|
|
# CONFIG_SYSRESET_CMD_RESET is not set
|
|
CONFIG_SYSRESET_CMD_POWEROFF=y
|
|
CONFIG_POWEROFF_GPIO=y
|
|
CONFIG_VIRTIO_PCI=y
|
|
CONFIG_VIRTIO_NET=y
|
|
CONFIG_VIRTIO_BLK=y
|
|
CONFIG_ADDR_MAP=y
|
|
CONFIG_PANIC_HANG=y
|