[debian-non-standard] segmentation faults and bus errors - abandoned all hope
Tomasz Chmielewski
mangoo at wpkg.org
Sun Feb 24 21:39:45 CET 2008
Tomasz Orłowski schrieb:
> Refering to my previous mail.......
>
> I've found only one old post with problems similar to mine, and I see
> that you Tomasz posted something in this thread too.
> Please take a look what "astudent" wrote here -->
> http://wl500g.info/showthread.php?t=6339&highlight=segmentation
>
> He suggested problems with memory. I don't know how to obtain values
> showed by nvram in Debian, so I quickly flashed my 500gP with old
> Whiterussian, and did this:
>
> root at OpenWrt:/# nvram show|grep -i ram
> os_ram_addr=80001000
> sdram_config=0x0062
> sdram_refresh=0x0000
> sdram_ncdl=0x10309
> wl_frameburst=0
> sdram_init=0x0009
> dl_ram_addr=a0001000
> size: 8752 bytes (24016 left)
I attached nvram settings in my previous post.
Here, the values containing "ram" from a WL-500gP running Debian:
$ grep ram /tmp/mtd3.strings
os_ram_addr=80001000
sdram_config=0x0062
sdram_refresh=0x0000
sdram_ncdl=0x10407
wl_frameburst=0
sdram_init=0x0009
dl_ram_addr=a0001000
(...)
> I'm curious what are your settings.
> I'm a little bit scared to set it, smells like fantastic chance of
> bricking the box ;o) but I think I'll riks it, because I do not have any
> other ideas :(
I don't think you'll brick your ASUS even if you erase the whole nvram.
Just press ctrl+c right after you power on the device, and you get CFE
console:
(...)
Total memory used by CFE: 0x80800000 - 0x8089AF40 (634688)
Initialized Data: 0x808313D0 - 0x80833790 (9152)
BSS Area: 0x80833790 - 0x80834F40 (6064)
Local Heap: 0x80834F40 - 0x80898F40 (409600)
Stack Area: 0x80898F40 - 0x8089AF40 (8192)
Text (code) segment: 0x80800000 - 0x808313D0 (201680)
Boot area (physical): 0x0089B000 - 0x008DB000
Relocation Factor: I:00000000 - D:00000000
Device eth0: hwaddr 00-0E-A6-F1-ED-3C, ipaddr 192.168.1.1, mask
255.255.255.0
gateway not set, nameserver not set
Automatic startup canceled via Ctrl-C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> help
Available commands:
rndis Broadcom USB RNDIS utility.
et Broadcom Ethernet utility.
nvram NVRAM utility.
reboot Reboot.
printdefault Display the environment default variables embeded in
the bootloader
flash Update a flash memory device
autoboot Automatic system bootstrap.
batch Load a batch file into memory and execute it
go Verify and boot OS image.
boot Load an executable file into memory and execute it
load Load an executable file into memory without executing it
write Write a region of memory to a remote file via TFTP
read Read a region of memory to a remote file via TFTP
save Save a region of memory to a remote file via TFTP
ping Ping a remote IP host.
arp Display or modify the ARP Table
ifconfig Configure the Ethernet interface
unsetenv Delete an environment variable.
printenv Display the environment variables
setenv Set an environment variable.
help Obtain help for CFE commands
For more information about a command, enter 'help command-name'
*** command status = 0
Of course, I can't give any guarantees ;)
--
Tomasz Chmielewski
http://wpkg.org
More information about the debian-non-standard
mailing list