Re: "Home Grown" Daughterboards for Sale?

"Bruce D. Lightner" <lightner-2huV/[email protected]>
Newsgroups gmane.linux.uclinux.actiontec
Message-ID <[email protected]>
Craig Hollabaugh wrote:

> On Wed, Mar 17, 2004 at 05:10:59PM -0500, Greg Boehnlein wrote:
> 
>>Jason and I spoke this morning about the Flash Loader source code and 
>>wether it can be released, or if it is still under the Conexxant IP 
>>restriction. He was going to check on it.
> 
>>From what I saw, the Linux driver and app is GPL. This was a version 
> written for RH7 or 8, I can't remember. I couldn't get it going on 
> my debian machine, so I just resorted to using the DOS version. 
> The DOS version has no copyright or license info in the source.
> I asked Greg at Conexant about releasing either the linux or DOS
> versions independent of Actiontec but never followed up on it. That
> was last October.

Would you please send us a link to the Linux software!

>>>ps. I have not tried to compile the Actiontec kernel
>>
>>Your insight might be really valuable, given the experience that you have 
>>with other platforms. Are you able to at least attempt a compilation given 
>>the information that we've compiled so far and let us know what you run 
>>into?
> 
> Getting a working .config is a trial and error process unless you're
> very familiar with the source. I typically get once from the manufacturer
> SDK and slowly move from there. Unfortunately, you didn't get one from
> Actiontec. That's a missing part of their release. 
> 
> What problems are you seeing?
>  1. Do you see kernel output on console?

Yes.

>  2. Do you get to init?

Yes.

>  3. Can you mount the root filesystem?

Yes.

>  Where does it hang?

It doesn't hang.  I can login and do whatever I want.  The "boa" Web pages 
work just fine as long as you don't try to change the configuration.

The MTD device is simple missing (it cannot be opened), and therefore 
anything having to do with reading/writing the "parameters" (via /dev/mds0 
and /dev/mds1?) seem to eventually take the kernel off into the 
weeds...and corrupt the bootstrap.

In fact, I now can get the modem (/dev/ttyS2) to off-hook and hangup 
manually using "cat > /dev/ttyS2)...but not dial.

The kernel just won't reboot without reloading the bootstrap, or it will 
crash hours later if left idle.

See my posts earlier today...

Also, included at the bottom of this email is a typical console log after 
boot-up, followed by the "panic" message I got overnight...

> All this recent flash talk might not be covered under the GPL if
> Actiontec wrote a LKM for storing their modem parameters. 

If LKM means "Linux Kernel Modules", then the "missing" MTD driver is not 
a LKM.  You can verify that my looking in /lib/modules.

> You may just
> have to move on and start creating things with what you got.

That's what I'll do next if I have to.  However, it's looking like the 
only path is to mimic the "missing" MTD driver because that's how the also 
missing "proprietary" firmware that sets up the modem gets it's instructions.

Let's hope that Jason comes through...

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/

---------------------------------------------------------------------------------

Linux version 2.4.6 (lightner-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]) (gcc version 2.95.3 
20010315 (release)) #25 Wed Mar 17 08:45:57 PST 2004
Processor: ARM/CNXT Arm940sid(wb) revision 2
Architecture: CNXT CX821XX
On node 0 totalpages: 1920
zone(0): 0 pages.
zone(1): 1920 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 83.76 BogoMIPS
Memory: 7680K = 0K total
Memory: 5636KB available (871K code, 984K data, 44K init)
kmem_create: Forcing size word alignment - names_cache
Dentry-cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode-cache hash table entries: 512 (order: 0, 4096 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Conexant General Purpose timers initialized
Conexant hardware timer 2 enabled
Conexant Flash Driver version: 001
Initializing Flash Segment 1
Initializing Flash Segment 2
Initializing Flash Segment 3
Initializing Flash Segment 4
Initializing Flash Segment 5
Initializing Flash Segment 6
Initializing Flash Segment 7
Initializing Flash Segment 8
Initializing Flash Segment 9
Initializing Flash Segment 10
Starting kswapd v1.8
ttyS0 at 0x002c0000 (irq = 24) is a 16c550 UART
info = 009ca674
block: queued sectors max/low 3650kB/1216kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PHY #2 = 15f441
emac_probe: eth0 found.
Tx DMA Ring f824a0
Rx DMA Ring fa0b10
EMAC Network Driver Cnxt 2003/07/16 irq=19 00:30:cd:00:02:eb:
PHY #2 = 15f441
emac_probe: eth1 found.
Tx DMA Ring fc00a0
Rx DMA Ring fde710
EMAC Network Driver Cnxt 2003/07/16 irq=20 00:30:cd:00:02:3e:
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 4B0000-5C3BFF [VIRTUAL 4B0000-5C3BFF] (RO)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
ip_conntrack (60 buckets, 480 max)
ip_tables: (c)2000 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (romfs filesystem) readonly.
ACTION_TEC_DEBUG : rs_ACTION_TEC_init
ttyS2 at 0x002c8000 (irq = 5) is a 16c550 UART
info = 00ea25b8
Expanding the ramdisk ...
Mounting ext2 file system ...
Mounting proc file system ...
Building the read write directories
/bin/mkdir /var/ppp
/bin/mkdir /var/config
mkdir: cannot create directory /var/config
/bin/cp /etc/ppp.org/* /var/ppp
-: No such file or directory
/etc/ppp.org/ip-up: No such file or directory
/bin/cp /etc/config.org/* /var/config
/etc/config.org/*: No such file or directory
/bin/cp /etc/dhcpd.conf.org /var/dhcpd.conf
/bin/cp /etc/dhcpd.iplist.org /var/dhcpd.iplist
/bin/cp /etc/boa.conf /var/boa.conf
/bin/cp /etc/resolv.conf /var/resolv.conf
MTD_open
Open 15506904 failed
---- configuration list ----
Key-value: MaCaDdR1                 - 00:00:00:00:00:00
Key-value: MaCaDdR2                 - 00:00:00:00:00:00
Key-value: MaCaDdR3                 - 00:00:00:00:00:00
Key-value: BoardID                  - 00000481
Key-value: Version                  - 2.0.0.0.19n-R7000M
Key-value: Mode                     - PPP
Key-value: SYS_Name                 - admin
Key-value: SYS_Password             -
Key-value: PPP_Name                 -
Key-value: PPP_Password             -
Key-value: DiScReAsOn               - None
Key-value: ppp_static               -
Key-value: WAN_IP                   -
Key-value: WAN_MASK                 - 255.255.255.0
Key-value: WAN_Gateway_IP           -
Key-value: LAN_IP                   - 192.168.0.1
Key-value: DHCP_Server              - on
Key-value: DHCPD_Subnet             - 192.168.0.0
Key-value: DHCPD_StartIP            - 192.168.0.4
Key-value: DHCPD_EndIP              - 192.168.0.254
Key-value: DHCPD_Mask               - 255.255.255.0
Key-value: dns_type                 - dynamic
Key-value: DHCPD_DNS1               - 192.168.0.1
Key-value: DHCPD_DNS2               - 198.6.1.3
Key-value: DHCP_ID                  -
Key-value: DHCP_DN                  -
Key-value: SSID                     - ACTIONTEC
Key-value: Channel                  - 1
Key-value: WepEncryption            - off
Key-value: Mode128Key0              -
Key-value: Mode64Key0               -
Key-value: Mode64Key1               -
Key-value: Mode64Key2               -
Key-value: Mode64Key3               -
Key-value: KeyID                    -
Key-value: Firewall_Monitor         - off
Key-value: BlockIpPort              -
Key-value: BlockUrl                 -
Key-value: PortMap                  -
Key-value: DmzIp                    -
Key-value: RemoteManage             - off
Key-value: Pptp                     - on
Key-value: IPsec                    - 0
Key-value: L2tp                     - on
Key-value: NAT_Server               -
Key-value: Qos                      - ubr
Key-value: Encap                    - llcrouted
Key-value: Vpi                      - 0
Key-value: Vci                      - 35
Key-value: FBM_DBM                  - DBM
Key-value: ADSLStandard             - MULTIMODE
Key-value: EC_FDM                   - EC_MODE
Key-value: eth_connected            - 0
Key-value: unnumbered               - yes
Key-value: unnumbered_ip            - 10.0.10.6
Key-value: unnumbered_mask          - 255.255.255.252
Key-value: securitylevel            - basic
Key-value: static_routes            -
Key-value: rip                      - none
Key-value: static_nat               -
Key-value: AolIsp                   - 0
Key-value: Netmeeting               -
Key-value: auto_retry               - on
Key-value: IsPPhOnENuMbEr1          -
Key-value: IsPPhOnENuMbEr2          -
Key-value: initstring               - atdt,
Key-value: attempt                  - 2
Key-value: redial                   - 4
Key-value: DialOnDemand             - 0
Key-value: DiAlOuTsIdE              - 0
Key-value: DiAlCwAiTiNg             - 0
Key-value: disctimeout              - 300
Key-value: VolumeLevel              - atl0m1
Key-value: PPPUpTiMe                -
Key-value: CoNnEcTtSpEeD            -
Key-value: MoDeMStAtUs              - disconncted
---- configuration list ----
Key-value:                          -
default configuration has 75 entries
current configuration has 0 entries
conf valid check
MTD_open
eth0: (CX821xx EMAC) started!
eth1: (CX821xx EMAC) started!
SIOCSIFADDR: No such device
eth2: unknown interface: No such device
eth2: unknown interface: No such device
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
interface eth2 does not exist!
qbr0: port 2(eth1) entering listening state
qbr0: port 1(eth0) entering listening state
qbr0: port 2(eth1) entering learning state
qbr0: port 1(eth0) entering learning state
qbr0: port 2(eth1) entering forwarding state
qbr0: topology change detected, propagating
qbr0: port 1(eth0) entering forwarding state
qbr0: topology change detected, propagating
PING 192.168.0.0 (192.168.0.0): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=0.0 ms
run dnsmasq
run dnsmasq 20
.reading /etc/ppp/resolv.confignoring nameserver 192.168.0.1 - local 
interfaceusing nameserver 198.6.1.3run dnsmasq 21
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.0 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.0 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=0.0 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=255 time=0.0 ms

--- 192.168.0.0 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.0/0.0/0.0 ms
can't find service
boa: starting server
(null): ACTION_TEC DEBUG : EMBEDDED PPPD    0.1

(null): ACTION_TEC DEBUG : EMBEDDED PPPD    0.2

/sbin/pppd: ACTION_TEC DEBUG : EMBEDDED PPPD    0.3

/sbin/pppd: logit fatal <<<< Couldn't open /dev/ppp: No such device >>>

iptables: Invalid argument
iptables: Invalid argument
iptables: Invalid argument
iptables: Invalid argument

/etc/issue              www.conexant.com                    15 Feb 2002



                         Welcome to uClinux!



         uClinux /ju:si:`linuks/ 1.n. Microcontroller Linux;
         Embedded microcontroller operating system.  2.n. An
         embedded soft real time kernel (see also POSIX.4)
         3.n. Embedded Linux internet/intranet development
         platform.  4. synonym for the successful rapid
         development of embedded system applications.


         For more information on the uClinux operating system
         please visit the http://www.uclinux.com and
         http://www.uclinux.org web sites.



uClinux login:

---------------------------------------------------------------------------------

fault-common.c 242
Unable to handle kernel NULL pointer dereference at virtual address 0000003f
fault-common.c 96
Internal error: Oops: 0
CPU: 0
pc : [<008487a8>]    lr : [<0084879c>]
sp : 00cabf30  ip : 00cabf30  fp : 00cabf58
r10: 00000000  r9 : 00000003  r8 : 01aae4a0
r7 : 00c6a000  r6 : 00b42000  r5 : 00f6c4a0  r4 : 00f6c4a0
r3 : 00000003  r2 : 20000013  r1 : 20000093  r0 : 00f6c4a0
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: C000107D  Table: 00000002  DAC: 00000000
Process ledwatch (pid: 57, stackpage=00cab000)
Stack:
00cabf20: 0084879c 008487a8 20000013 ffffffff  00000000 00c6a000 00b46280 
00f777a0
00cabf40: 00b42000 00000200 009f8e00 00cabf80  00cabf5c 00848ba4 00848734 
00f77780
00cabf60: ffffffea 00000000 00000200 009f8e00  00d69260 00cabfac 00cabf84 
0082cfac
00cabf80: 00848b60 0083d0d4 0082dc10 00000004  009f8e00 00000200 00caa000 
0080be60
00cabfa0: 00000000 00cabfb0 0080bce0 0082cee0  00000004 0080c508 00000004 
009f8e00
00cabfc0: 00000200 00000200 00000004 009f8e00  00000200 009f8e00 00c62fe0 
00000000
00cabfe0: 00d69260 00d6b100 009f8e00 00d6b0f0  00d62a8c 00d64a90 60000010 
00000004
Backtrace:
Function entered at [<00848724>] from [<00848ba4>]
Function entered at [<00848b50>] from [<0082cfac>]
Function entered at [<0082ced0>] from [<0080bce0>]
  r8 = 0080BE60  r7 = 00CAA000  r6 = 00000200  r5 = 009F8E00
  r4 = 00000004

__
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.