Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add kernel params to boot from ubifs ubi0:rootfs

  • Loading branch information...
commit 0c2d3c3e35c9edb7d1de00b5fcb739bf02afc582 1 parent c38b062
@shr-project shr-project authored committed
Showing with 6 additions and 4 deletions.
  1. +3 −2 src/cpu/s3c2410/gta01.c
  2. +3 −2 src/cpu/s3c2442/gta02.c
View
5 src/cpu/s3c2410/gta01.c
@@ -305,8 +305,9 @@ const struct board_api board_api_gta01 = {
.block_read = nand_read_ll,
.offset_blocks512_if_no_partition = 0x44000 / 512,
.filesystem = FS_RAW,
- .commandline_append = "rootfstype=jffs2 "
- "root=/dev/mtdblock4 ",
+ .commandline_append = " rootfstype=ubifs " \
+ " ubi.mtd=4,512 " \
+ " root=ubi0:om-gta01-rootfs ",
},
},
};
View
5 src/cpu/s3c2442/gta02.c
@@ -733,8 +733,9 @@ const struct board_api board_api_gta02 = {
/* NOTE offset below is replaced at runtime */
.offset_blocks512_if_no_partition = 0x80000 / 512,
.filesystem = FS_RAW,
- .commandline_append = " rootfstype=jffs2 "
- "root=/dev/mtdblock6 ",
+ .commandline_append = " rootfstype=ubifs " \
+ " ubi.mtd=6,2048 " \
+ " root=ubi0:om-gta02-rootfs ",
},
},
};
Please sign in to comment.
Something went wrong with that request. Please try again.