Modify

Opened 4 years ago

Closed 4 years ago

Last modified 22 months ago

#12061 closed defect (fixed)

ZyXEL NBG-419N board= value incorrect

Reported by: e.swanson+openwrt@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: other Version: Trunk
Keywords: Cc:

Description

In the file
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-nbg-419n.c

the mips machine NBG-419N is defined:
MIPS_MACHINE(RAMIPS_MACH_NBG_419N, "NBG-419N", "ZyXEL NBG-419N", nbg_419n_init);

However, in the image Makefile (target/linux/ramips/image/Makefile), the line
$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,nbg-419n,NBG419N,ttyS1,57600,phys)
specifies a value for the command line parameter board=NBG419N.

Because of this, the hardware boots as a "Generic Ralink board" and has no interfaces configured nor any idea about its mtd layout. If flashing a squashfs-sysupgrade file, it will kernel panic with a message "Unable to mount root fs on unknown-block(0,0)".

This can be fixed with the simple one line patch attached.

Attachments (1)

image-makefile.patch (517 bytes) - added by e.swanson+openwrt@… 4 years ago.
Patch to fix bug

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by e.swanson+openwrt@…

Patch to fix bug

comment:1 Changed 4 years ago by juhosg

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

Fixed in r33229. Thanks!

comment:2 Changed 22 months 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

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.