Skip to content

Commit

Permalink
hawkboard, da850-omapl138-evm: change UBI parameters after kernel patch
Browse files Browse the repository at this point in the history
* sub-page size needs some looking at
  • Loading branch information
koenkooi committed Aug 30, 2010
1 parent ba99068 commit f4de7c0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions conf/machine/da850-omapl138-evm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ UBOOT_LOADADDRESS = "0xc0008000"
MACHINE_FEATURES = "kernel26 serial ethernet"

# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 971 LEBs (125282304 bytes, 119.5 MiB), available 958 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 950"

# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
# # From dmesg:
# # UBI: smallest flash I/O unit: 2048
# # UBI: logical eraseblock size: 126976 bytes
# # from ubiattach stdout:
# # UBI device number 0, total 971 LEBs (123293696 bytes, 117.6 MiB), available 958 LEBs (121643008 bytes, 116.0 MiB), LEB size 126976 bytes (124.0 KiB)
# MKUBIFS_ARGS = "-m 2048 -e 126976 -c 948"
#
# # do ubiattach /dev/ubi_ctrl -m 4
# # from dmesg:
# # UBI: smallest flash I/O unit: 2048
# # UBI: physical eraseblock size: 131072 bytes (128 KiB)
# # UBI: sub-page size: 512
# UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

SERIAL_CONSOLE = "115200 ttyS2"
6 changes: 3 additions & 3 deletions conf/machine/hawkboard.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ MACHINE_FEATURES = "kernel26 serial ethernet ide screen"
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 971 LEBs (125282304 bytes, 119.5 MiB), available 958 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 950"
# UBI device number 0, total 971 LEBs (123293696 bytes, 117.6 MiB), available 958 LEBs (121643008 bytes, 116.0 MiB), LEB size 126976 bytes (124.0 KiB)
MKUBIFS_ARGS = "-m 2048 -e 126976 -c 948"

# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
Expand Down

0 comments on commit f4de7c0

Please sign in to comment.