Make armv7.img boot on the DE0 Nano SoC. Requires u-boot from -current pkgsrc.
This commit is contained in:
parent
f1cf6cfeb7
commit
19a287f3ad
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: armv7.conf,v 1.26 2018/11/01 11:05:24 skrll Exp $
|
||||
# $NetBSD: armv7.conf,v 1.27 2018/11/22 21:11:37 aymeric Exp $
|
||||
# ARMv7 customization script used by mkimage
|
||||
#
|
||||
board=armv7
|
||||
|
@ -7,7 +7,7 @@ resize=true
|
|||
|
||||
. ${DIR}/conf/evbarm.conf
|
||||
|
||||
# exynos, sunxi, tegra
|
||||
# altera, exynos, sunxi, tegra
|
||||
kernels_generic="GENERIC"
|
||||
# non-FDTised / special kernels
|
||||
kernels_amlogic="ODROID-C1"
|
||||
|
@ -90,6 +90,10 @@ EOF
|
|||
>> "$tmp/selected_sets"
|
||||
}
|
||||
|
||||
populate_altera() {
|
||||
:
|
||||
}
|
||||
|
||||
populate_amlogic() {
|
||||
odroidc1_kernelimg=netbsd-ODROID-C1.ub
|
||||
|
||||
|
@ -153,6 +157,7 @@ populate() {
|
|||
done
|
||||
|
||||
# board specific configuration
|
||||
populate_altera
|
||||
populate_amlogic
|
||||
populate_beagle
|
||||
populate_rpi
|
||||
|
|
|
@ -3,6 +3,13 @@ if test "${board}" = "am335x" ; then
|
|||
setenv mmcpart 0:1
|
||||
setenv bootargs root=ld0a
|
||||
fi
|
||||
if test "${board}" = "de0-nano-soc" ; then
|
||||
setenv kernel netbsd-GENERIC.ub
|
||||
setenv bootargs 'root=ld0a'
|
||||
setenv mmcpart 0:1
|
||||
setenv use_fdt 1
|
||||
setenv fdtfile socfpga_cyclone5_de0_sockit.dtb
|
||||
fi
|
||||
if test "${soc}" = "exynos" ; then
|
||||
setenv kernel netbsd-GENERIC.ub
|
||||
setenv bootargs 'root=ld1a'
|
||||
|
|
Loading…
Reference in New Issue