Modify

Opened 11 years ago

Closed 11 years ago

Last modified 4 years ago

#1919 closed defect (worksforme)

PATCH: jffs2 images do not consider CONFIG_TARGET_ROOTFS_FSPART

Reported by: nachtiga@… Owned by: developers
Priority: normal Milestone: Kamikaze 7.06
Component: base system Version:
Keywords: Cc:

Description

The jffs2 images do not adhere to the setting "target images -> Root partition on target device" (the ext2 images do). Here is a patch (one simply has to add the "--pad=SIZE" option to mkfs.jffs2

I do have a WRAPBoard with a 1GB card where a bigger jffs2 image is useful.

Attachments (2)

jffs2-root-fs-size.patch (1.2 KB) - added by anonymous 11 years ago.
jffs2-root-fs-size_corrected.patch (1.2 KB) - added by nachtiga@… 11 years ago.
now correct patch

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by anonymous

Changed 11 years ago by nachtiga@…

now correct patch

comment:1 follow-up: Changed 11 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

There is a separate option for enabling the rootfs padding: CONFIG_X86_GRUB_IMAGES_PAD
I like to keep this optional to keep jffs2 images smaller in size (useful if you want to download them over the internet).
The filesystem itself automatically grows to cover the selected rootfs size.

comment:2 in reply to: ↑ 1 Changed 11 years ago by anonymous

Replying to nbd:

There is a separate option for enabling the rootfs padding: CONFIG_X86_GRUB_IMAGES_PAD
I like to keep this optional to keep jffs2 images smaller in size (useful if you want to download them over the internet).
The filesystem itself automatically grows to cover the selected rootfs size.

OK. But then the description is not very good ("Pad GRUB images to filesystem size (for JFFS2)"). This is a bad description, because it only says what is done technically (padding the grub image) but does not tell the user why it is done (the purpose to not have a small image). Also I read this a few time, but did not know understand what it means ;-)

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.