Re: uClinux Source Code Patch (Again) for Dual PC Modem
john <john-k2rtHP/[email protected]>
| Newsgroups | gmane.linux.uclinux.actiontec |
|---|---|
| Message-ID | <1082907550.5130.6.camel@lisa> |
Has anyone had success creating a working kernel besides Bruce? I attempted to compile one on a debian box, using the actiontec provided toolchain and source plus Bruce's patch. I am able to compile the binary but when I boot up something goes wrong as I can no longer talk to the modem. It is hard to tell how it is failing without the daughterboard. Bruce - would it be possible to post a copy of your compiled kernel so I can try it out on my board? If someone with a daughter board feels like trying my kernel I'll put it here: http://jarv.nu/linuz Thanks -john On Tue, 2004-04-20 at 18:37, Bruce D. Lightner wrote: > Dear Actiontec Dual PC Modem Hackers: > > Oops! The GPL source code update that I posted yesterday > accidentially used the wrong directory for source code > distribution. Sorry about that... > > It was also was missing a couple of key files. It believe this > is right, but I have not had the time to start from scratch and > load the resultant firmware into one of my Actiontec modems. > > The following *new* ZIP archive... > > http://www.lightner.net/ActionHack/DualPcModemGplPatch_1.2.zip > > ...contains a compressed TAR archive with the following files... > > linux/README_Actiontec.txt > linux/.config > linux/Makefile > linux/arch/armnommu/mach-cx821xx/cnxtbsp.c > linux/arch/armnommu/mach-cx821xx/cnxtflash.c > linux/arch/armnommu/mach-cx821xx/cnxtflash.h > linux/arch/armnommu/mach-cx821xx/cnxtirq.c > linux/arch/armnommu/mach-cx821xx/gpioisr.c > linux/arch/armnommu/mach-cx861xx/gpio.c > linux/arch/armnommu/kernel/armksyms.c > linux/include/linux/cnxtflash.h > linux/include/asm-armnommu/arch-cx821xx/gpio.h > linux/drivers/mtd/devices/mtdram.c > > ...which should end up overwriting files rooted at > "/opt/uClinux/linux/". > > The text file "linux/README_Actiontec.txt" contains instructions. > The uClinux "config" file is "linux/.config". I have used these > files with "make oldconfig" to build a stable Actiontec Dual PC > Modem uClinux kernel which runs correctly with Actiontec's "stock" > ROM file system. > > The "Makefile" includes -DACTION_TEC as a global define: > > CPPFLAGS := -D__KERNEL__ -I$(HPATH) -DACTION_TEC > > The other files are all GPL, and include the needed logic to work > with hardware that Actiontec *actually ships*. > > I've updated the Wiki HOWTO page... > > http://www.embeddedlinuxinterfacing.com/wiki.php/ActiontecGplReleaseHowto > > ...to include the following instructions: > > INSTALLING THE LATEST ACTIONTEC GPL SOURCE RELEASE > -------------------------------------------------- > > # su > # wget -nd \ > ftp://128.121.226.214/pub/dualpcmodem/actiontec_release_031017.tar.gz > # tar -zxvf actiontec_release_031017.tar.gz > # usermod -G uClinux lightner > # newgrp uClinux > # cd Actiontec_Release/Actiontec_DPC_Base/ > # make > > APPLYING PATCH TO /opt/uClinux/linux/ > ------------------------------------- > > # cd /opt/uCLinux > # wget -nd http://www.lightner.net/ActionHack/DualPcModemGplPatch_1.2.zip > # unzip DualPcModemGplPatch_1.2.zip > # tar -zxf DualPcModemGplPatch_1.2.tar.gz > > REBUILDING THE ACTIONTEC UCLINUX KERNEL > --------------------------------------- > > % cd /opt/uClinux/linux/ > % newgrp uClinux > % make clean > % rm -f linux.bin linuz > % make oldconfig > % make dep > % make linux.bin > % gzip -c linux.bin > linuz > > Please me know if this works any better! > > Best regards, > > Bruce __ ActionHack Mailing List - ActionHack-W7/[email protected] http://www.express.org/mailman/listinfo/actionhack http://www.embeddedlinuxinterfacing.com/wiki.php/ActiontecDualModem