mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-16 18:28:23 +01:00
Added support for building NextThingCo ubifs
By configuring UBIFS and UBINIZE parameters in conf/machin/chip.conf Signoff, Rikard Söderström <soderstrom.rikard@gmail.com>
This commit is contained in:
parent
daf8c39312
commit
7bdda85253
@ -5,11 +5,18 @@
|
|||||||
#https://github.com/NextThingCo/CHIP-linux
|
#https://github.com/NextThingCo/CHIP-linux
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-chip"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-chip"
|
||||||
|
PREFERRED_PROVIDER_u-boot ?= "u-boot-chip"
|
||||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-chip"
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-chip"
|
||||||
PREFERRED_VERSION_linux-chip ?= "4.3.0"
|
PREFERRED_VERSION_linux-chip ?= "4.3.0"
|
||||||
PREFFERED_VERSION_u-boot-chip ?= "v2015.10%"
|
PREFFERED_VERSION_u-boot-chip ?= "v2015.10%"
|
||||||
|
KERNEL_IMAGETYPE ?= "zImage"
|
||||||
|
|
||||||
require conf/machine/include/sun5i.inc
|
require conf/machine/include/sun5i.inc
|
||||||
|
|
||||||
|
IMAGE_INSTALL_append = " kernel-devicetree kernel-image kernel-modules"
|
||||||
|
MKUBIFS_ARGS = "-e 0x1f8000 -c 2000 -m 0x4000 -x lzo"
|
||||||
|
UBINIZE_ARGS = "-m 0x4000 -p 0x200000 -s 16384"
|
||||||
|
IMAGE_CLASSES = ""
|
||||||
|
IMAGE_FSTYPES = "ext4 tar.gz ubi ubifs"
|
||||||
KERNEL_DEVICETREE = "sun5i-r8-chip.dtb"
|
KERNEL_DEVICETREE = "sun5i-r8-chip.dtb"
|
||||||
UBOOT_MACHINE_chip = "CHIP_config"
|
UBOOT_MACHINE_chip = "CHIP_config"
|
||||||
|
@ -20,8 +20,8 @@ mtdids=nand0=sunxi-nand.0
|
|||||||
mtdparts=mtdparts=sunxi-nand.0:4m(spl),4m(spl-backup),4m(uboot),4m(env),-(UBI)
|
mtdparts=mtdparts=sunxi-nand.0:4m(spl),4m(spl-backup),4m(uboot),4m(env),-(UBI)
|
||||||
|
|
||||||
# Default boot options
|
# Default boot options
|
||||||
bootargs=root=ubi0:rootfs rootfstype=ubifs rw ubi.mtd=4 consoleblank=0
|
bootargs=root=ubi0:chip-rootfs rootfstype=ubifs rw ubi.mtd=4 consoleblank=0
|
||||||
bootcmd=nand slc-mode on; mtdparts; ubi part UBI; ubifsmount ubi0:rootfs; ubifsload $fdt_addr_r /boot/sun5i-r8-chip.dtb; ubifsload $kernel_addr_r /boot/zImage; bootz $kernel_addr_r - $fdt_addr_r
|
bootcmd=nand slc-mode on; mtdparts; ubi part UBI; ubifsmount ubi0:chip-rootfs; ubifsload $fdt_addr_r /boot/sun5i-r8-chip.dtb; ubifsload $kernel_addr_r /boot/zImage; bootz $kernel_addr_r - $fdt_addr_r
|
||||||
|
|
||||||
# Ethernet options
|
# Ethernet options
|
||||||
usbnet_devaddr=de:ad:be:af:00:01
|
usbnet_devaddr=de:ad:be:af:00:01
|
||||||
|
Loading…
Reference in New Issue
Block a user