Opened 11 years ago

Closed 11 years ago

Last modified 4 years ago

#1888 closed defect (fixed)

jffs2 image generation broken

Reported by: MMCM Owned by: florian
Priority: highest Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: Cc:


Since the new introduction of 256k jffs2 images, all jffs2 images are broken.
The 256k image is way too small to be OK, and all other (64k ad 128k) images are overwritten by the 256k image, because of an error in trunk/target/linux/brcm-2.4/image/Makefile

Patch that fixes the non 256k images:

*** Makefile.old        2007-06-04 11:26:40.000000000 +0200
--- Makefile    2007-06-13 07:14:41.000000000 +0200
*** 56,61 ****
--- 56,62 ----
  define Image/Build
        $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1),$(1))
  ifneq ($(1),jffs2-128k)
+ ifneq ($(1),jffs2-256k)
        $(call Image/Build/CyberTAN,$(1),wrt54g3g,W54F,2.01.1,$(patsubst jffs2-%,jffs2,$(1)))
        $(call Image/Build/CyberTAN,$(1),wrt54g,W54G,4.60.1,$(patsubst jffs2-%,jffs2,$(1)))
        $(call Image/Build/CyberTAN,$(1),wrt54gs_v4,W54s,1.09.1,$(patsubst jffs2-%,jffs2,$(1)))
*** 64,76 ****
--- 65,80 ----
        $(call Image/Build/Motorola,$(1),wa840g,2,$(patsubst jffs2-%,jffs2,$(1)))
        $(call Image/Build/Motorola,$(1),we800g,3,$(patsubst jffs2-%,jffs2,$(1)))
+ endif
  ifneq ($(1),jffs2-64k)
+ ifneq ($(1),jffs2-256k)
        $(call Image/Build/CyberTAN,$(1),wrt54gs,W54S,4.80.1,$(patsubst jffs2-%,jffs2,$(1)))
        $(call Image/Build/CyberTAN,$(1),wrtsl54gs,W54U,2.08.1,$(patsubst jffs2-%,jffs2,$(1)))
  ifeq ($(KERNEL),2.6)
        $(call Image/Build/wgt634u,$(1),$(patsubst jffs2-%,jffs2,$(1)))
+ endif
        $(call Image/Build/Motorola,$(1),wr850g,1,$(1))
        $(call Image/Build/USR,$(1),usr5461,$(1))

256k images are still to small to be correct...

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

comment:2 Changed 11 years ago by nbd

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in [7731]

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.