Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
b74a3ecd
Commit
b74a3ecd
authored
Mar 09, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. dts for rootfs@ubifs 2. ubi image generate
parent
16aaf7ac
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
537 additions
and
5 deletions
+537
-5
elphel393_nand_ubifs.dts
conf/machine/boards/elphel393/elphel393_nand_ubifs.dts
+503
-0
core-image-elphel393.bb
recipes-core/images/core-image-elphel393.bb
+25
-4
elphel393.cfg
recipes-kernel/linux/config/elphel393.cfg
+9
-1
No files found.
conf/machine/boards/elphel393/elphel393_nand_ubifs.dts
0 → 100644
View file @
b74a3ecd
This diff is collapsed.
Click to expand it.
recipes-core/images/core-image-elphel393.bb
View file @
b74a3ecd
...
...
@@ -40,12 +40,33 @@ inherit core-image
IMAGE_ROOTFS_SIZE = "262144"
#IMAGE_FSTYPES = "ext2.gz ext2.gz.u-boot tar.gz"
#IMAGE_FSTYPES = "ext2.gz.u-boot tar.gz"
IMAGE_FSTYPES = "tar.gz"
IMAGE_FSTYPES = "tar.gz
ubi
"
#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"
########################################################################
########################################################################
## root@elphel393:~# mtdinfo /dev/mtd4 -u
## mtd4
## Name: rootfs
## Type: nand
## Eraseblock size: 131072 bytes, 128.0 KiB
## Amount of eraseblocks: 2048 (268435456 bytes, 256.0 MiB)
## Minimum input/output unit size: 2048 bytes
## Sub-page size: 2048 bytes
## OOB size: 64 bytes
## Character device major/minor: 90:8
## Bad blocks are allowed: true
## Device is writable: true
## Default UBI VID header offset: 2048
## Default UBI data offset: 4096
## Default UBI LEB size: 126976 bytes, 124.0 KiB
## Maximum UBI volumes count: 128
########################################################################
########################################################################
MKUBIFS_ARGS = " -m 2048 -e 126976 -c 2048"
UBINIZE_ARGS = " -m 2048 -p 128KiB -s 2048"
create_symlinks_append(){
if not os.path.isdir("${DEPLOY_DIR_IMAGE}/${PRODUCTION_DIR}"):
...
...
recipes-kernel/linux/config/elphel393.cfg
View file @
b74a3ecd
...
...
@@ -32,4 +32,12 @@ CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_SATA_AHCI_PLATFORM=y
CONFIG_AHCI_ELPHEL=M
CONFIG_DYNAMIC_DEBUG=y
\ No newline at end of file
CONFIG_DYNAMIC_DEBUG=y
CONFIG_MTD_SPI_NOR=n
CONFIG_MTD_UBI=y
CONFIG_UBIFS_FS=y
CONFIG_UBIFS_FS_ADVANCED_COMPR=n
#CONFIG_UBIFS_FS_LZO=y - default
#CONFIG_UBIFS_FS_ZLIB=y - default
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment