Opened 5 years ago

Last modified 5 years ago

#13441 assigned defect

nvram on flash (E4200)

Reported by: anonymous Owned by: hauke
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:


[ 0.000000] nvram on flash (38784 bytes) is bigger than the reserved space in memory, will just copy the first 32768 bytes

For Linksys E4200 should be reseved 60KB for nvram, but only 32KB allocated.

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by hauke

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

comment:2 Changed 5 years ago by Mitch <mitchhubers@…>


#define NVRAM_SPACE		0xF000
#elif ((LINKSYS_MODEL == E300) || (LINKSYS_MODEL == E4200))
#define NVRAM_SPACE		0xF000
#elif LINKSYS_MODEL == E3200
#define NVRAM_SPACE		0xF000

comment:3 Changed 5 years ago by Zajec

Please provide full booting log.

comment:4 Changed 5 years ago by hauke

OpenWrt uses 32 KB to to store a copy of the nvram for in kernel usage. This memory is needed very early when kmalloc does not work. We could increase this memory, but then we would wast some ram on other devices. OpenWrt build one image for a lot of different Routers with the same SoC.
We could try to use bootmem that way we could free the memory not needed.

Add Comment

Modify Ticket

as assigned .

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

Note: See TracTickets for help on using tickets.