Re: Your PCB Is in the Mail & A Question

Patrick McNamara <wpmcnamara-/[email protected]>
Newsgroups gmane.linux.uclinux.actiontec
Message-ID <[email protected]>
I pulled the writable flash segment address from
arch/armnommu/mach-cx821xx/cnxtflash.c.  There is also more info in the
cnxtflash.h file in the same directory.

Patrick M

--- "Bruce D. Lightner" <lightner-2huV/[email protected]> wrote:
> Patrick,
> 
> My wonderful wife Sherri sent your "home grown" development daughterboard 
> via US Priority Mail today.
> 
> Question...
> 
> I need help form an MTD driver expert...
> 
> You put this on the Wiki...
> 
>    Flash ROM map
> 
>    0x00400000:   Begin flash ROM
>    0x00400000:   boot loader
>    0x0040C000:   Begin OS writable flash segment (16k)
>    0x0040FFFF:   End OS writable flash segment
>    0x00410000:   compressed kernel image
>    0x004B0000:   start of ROM disk image (Taken from stock boot logs)
>    0x005FFFFF:   end of flash ROM
> 
> How did you determine the location of the "OS writable flash segment"?  I 
> believe this is the device /dev/mtdc0 and /dev/mtdc1.  My build of the 
> kernal always fails to open this device.  (See the end of this email for 
> my /dev/console log on boot.)
> 
> I've got my kernel build booting with a few less problems, including what 
> looks like some function in the modem chip.  I can get it to go off-hook, 
> and hang up, but not dial.  I managed to get the kernel to load an 
> important Actiontec "propriatary module" by adding some EXPORTs to the 
> kernel for two of the entry points the module was missing.  The module is 
> "/lib/modules/cnxtserial_buildin.o".  This clearly sets up the modem 
> somehow because now I have the modem UART device /dev/ttyS2 active.
> 
> However, the only thing I can't seem to get to work is the MTD device that 
> they are using to "configure" the PPP connection.  This is keeping the 
> device /dev/ppp from running.
> 
> There are a large number of configuration options for MTD drivers.  Have 
> you (or anyone else) got any clue as to how Actiontec built theirs?
> 
> I'm clueless in this area.  The error message...
> 
>    Can't allocate major number 31 for Memory Technology Devices.
> 
> ...is telling.  I don't know what I'm doing! :-)
> 
> Based on your "memory map", it looks like the "character mode" MTD device 
> that they are using uses a chunk of flash in the middle of flash memory. 
> How does one specify something like this?
> 
> Bottom line...does anyone have any ideas on how to "config" this device?
> 
> BTW: I still have to restore "boot-ldr.bin" each time I boot my kernel in 
> order to get my Actiontec box to reboot.  I can login and do whatever I 
> want after the *first* reboot, but when it's time to re-boot, the 
> "bootstrap" is gone!  What's up with that!?
> 
> Best regards,
> 
> Bruce
> 
> -- 
>   Bruce D. Lightner
>   Lightner Engineering
>   La Jolla, California
>   Voice: +1-858-551-4011
>   FAX: +1-858-551-0777
>   Email: lightner-2huV/[email protected]
>   URL: http://www.lightner.net/lightner/bruce/
> 

<snip>

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
__
ActionHack Mailing List - ActionHack-W7/[email protected]
http://www.express.org/mailman/listinfo/actionhack
http://www.embeddedlinuxinterfacing.com/wiki.php/ActiontecDualModem
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.