mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-06-21 08:52:24 +02:00
This is largely based on the beaglev code nbut tweaked to work with current starfive kernel repositories and tweak to the board. The kernel and rootfs boot with working network and graphics. The u-boot binary builds but is as yet untested. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
416 B
INI
20 lines
416 B
INI
CONFIG_CMDLINE="earlycon root=/dev/mmcblk0p2 rootwait console=ttyS0,115200 stmmac.chain_mode=1"
|
|
# CONFIG_INITRAMFS_FORCE is not set
|
|
# CONFIG_CMDLINE_FALLBACK is not set
|
|
CONFIG_CMDLINE_FORCE=y
|
|
|
|
CONFIG_CC_OPTIMIZE_FOR_SIZE=n
|
|
|
|
# enable ethernet
|
|
CONFIG_MICREL_PHY=y
|
|
CONFIG_MARVELL_PHY=n
|
|
|
|
# dtb
|
|
CONFIG_SOC_STARFIVE_VIC7100=y
|
|
|
|
# restart
|
|
CONFIG_MFD_TPS65086=y
|
|
CONFIG_POWER_RESET_TPS65086=y
|
|
|
|
CONFIG_HW_RANDOM_STARFIVE_VIC=y
|