uClinux Source Code Patch (Again) for Dual PC Modem
"Bruce D. Lightner" <lightner-2huV/[email protected]>
| Newsgroups | gmane.linux.uclinux.actiontec |
|---|---|
| Message-ID | <[email protected]> |
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
--
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/
__
ActionHack Mailing List - ActionHack-W7/[email protected]
http://www.express.org/mailman/listinfo/actionhack
http://www.embeddedlinuxinterfacing.com/wiki.php/ActiontecDualModem