Bump buildroot to 2019.02
This commit is contained in:
27
bsp/buildroot/board/synopsys/hsdk/genimage.cfg
Normal file
27
bsp/buildroot/board/synopsys/hsdk/genimage.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"uImage"
|
||||
}
|
||||
file uboot.env {
|
||||
image = "uboot-env.bin"
|
||||
}
|
||||
}
|
||||
size = 20M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
2
bsp/buildroot/board/synopsys/hsdk/linux.fragment
Normal file
2
bsp/buildroot/board/synopsys/hsdk/linux.fragment
Normal file
@@ -0,0 +1,2 @@
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
CONFIG_ARC_UBOOT_SUPPORT=y
|
||||
33
bsp/buildroot/board/synopsys/hsdk/readme.txt
Normal file
33
bsp/buildroot/board/synopsys/hsdk/readme.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
Synopsys, Inc.
|
||||
ARC HS Development Kit (HSDK)
|
||||
|
||||
https://embarc.org/platforms.html
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Select the default configuration for the target:
|
||||
$ make snps_archs38_hsdk_defconfig
|
||||
|
||||
Optional: modify the configuration:
|
||||
$ make menuconfig
|
||||
|
||||
Build:
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
===================
|
||||
output/images/
|
||||
├── boot.vfat
|
||||
├── rootfs.ext2
|
||||
├── sdcard.img
|
||||
├── u-boot
|
||||
├── u-boot.bin
|
||||
├── uboot-env.bin
|
||||
└── uImage
|
||||
|
||||
To copy the image file to the sdcard use dd:
|
||||
$ dd if=output/images/sdcard.img of=/dev/XXX
|
||||
|
||||
2018, Evgeniy Didin <Evgeniy.Didin@synopsys.com>
|
||||
|
||||
9
bsp/buildroot/board/synopsys/hsdk/uboot.env.txt
Normal file
9
bsp/buildroot/board/synopsys/hsdk/uboot.env.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
baudrate=115200
|
||||
bootargs=root=/dev/mmcblk0p2 rootwait
|
||||
bootcmd=fatload mmc 0:1; bootm
|
||||
bootdelay=2
|
||||
bootfile=uImage
|
||||
loadaddr=0x82000000
|
||||
stderr=serial0@f0005000
|
||||
stdin=serial0@f0005000
|
||||
stdout=serial0@f0005000
|
||||
Reference in New Issue
Block a user