Commit 20c5cbad authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

rootfs on mmc

parent 57d3f4d3
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
serial0 = &ps7_uart_0; serial0 = &ps7_uart_0;
} ; } ;
chosen { chosen {
/* bootargs = "console=ttyPS0,115200 debug root=/dev/ram rw ip=192.168.0.9 earlyprintk ramdisk_size=131072";*/ /* bootargs = "console=ttyPS0,115200 debug root=/dev/ram rw ip=192.168.0.9 earlyprintk ramdisk_size=262144";*/
bootargs = "cma=128M console=ttyPS0,115200 root=/dev/ram rw ip=192.168.0.8 earlyprintk ramdisk_size=262144"; bootargs = "cma=128M console=ttyPS0,115200 root=/dev/mmcblk0p2 rw ip=192.168.0.8 earlyprintk rootwait rootfstype=ext4";
linux,stdout-path = "/amba@0/serial@e0000000"; linux,stdout-path = "/amba@0/serial@e0000000";
} ; } ;
cpus { cpus {
......
This diff is collapsed.
...@@ -11,6 +11,7 @@ IMAGE_INSTALL_append += " python-core \ ...@@ -11,6 +11,7 @@ IMAGE_INSTALL_append += " python-core \
i2c-tools \ i2c-tools \
mtd-utils \ mtd-utils \
mtd-utils-misc \ mtd-utils-misc \
mtd-utils-ubifs \
hdparm \ hdparm \
ethtool \ ethtool \
net-tools \ net-tools \
...@@ -39,7 +40,12 @@ inherit core-image ...@@ -39,7 +40,12 @@ inherit core-image
IMAGE_ROOTFS_SIZE = "262144" IMAGE_ROOTFS_SIZE = "262144"
#IMAGE_FSTYPES = "jffs2 ext2.gz" #IMAGE_FSTYPES = "ext2.gz.u-boot tar.gz"
IMAGE_FSTYPES = "tar.gz"
#MKUBIFS_ARGS = " -m 2048 -e 129024 -c 1996"
#UBINIZE_ARGS = " -m 2048 -p 128KiB -s 512"
#IMAGE_FSTYPES = "ext2.gz ext2.gz.u-boot tar.gz"
create_symlinks_append(){ create_symlinks_append(){
if not os.path.isdir("${DEPLOY_DIR_IMAGE}/${PRODUCTION_DIR}"): if not os.path.isdir("${DEPLOY_DIR_IMAGE}/${PRODUCTION_DIR}"):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment