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

rootfs on mmc

parent 57d3f4d3
......@@ -10,8 +10,8 @@
serial0 = &ps7_uart_0;
} ;
chosen {
/* bootargs = "console=ttyPS0,115200 debug root=/dev/ram rw ip=192.168.0.9 earlyprintk ramdisk_size=131072";*/
bootargs = "cma=128M console=ttyPS0,115200 root=/dev/ram rw ip=192.168.0.8 earlyprintk ramdisk_size=262144";
/* 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/mmcblk0p2 rw ip=192.168.0.8 earlyprintk rootwait rootfstype=ext4";
linux,stdout-path = "/amba@0/serial@e0000000";
} ;
cpus {
......
This diff is collapsed.
......@@ -11,6 +11,7 @@ IMAGE_INSTALL_append += " python-core \
i2c-tools \
mtd-utils \
mtd-utils-misc \
mtd-utils-ubifs \
hdparm \
ethtool \
net-tools \
......@@ -39,7 +40,12 @@ inherit core-image
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(){
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