Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page bad frame format with uClinux
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Reply
 
Thread Tools Display Modes
Old 02-11-2008   #1 (permalink)
Just Joined!
 
Join Date: Nov 2007
Posts: 27
bad frame format with uClinux

hello all,

im suresh, hello friends i have a problem, please help me out.
im using uClinux-2.4.19 with MCF5272 as the processor, 8MB flash & 32 MB sdram. I have

a new implementation to do in the project which is remote upload of image.pkg to the flash

through ethernet. my compiled image.pkg size is 1.34 MB. i will the load the image.pkg to

the board, after the image.pkg is loaded to the board i will be getting a session in the board

in which the /var directory has memory size of 106 bytes, but i have to increase the size of

/var to 2 MB so that i can copy a image.pkg of 1.34 MB to /var directory through ftp, for

increasing the size of /var directory to 2 MB im using the below rc script. using the below rc

script i will compile and get a new image.pkg which after loading to the board, once a get a

session in the board after loading the image.pkg, any command if i type in the command

promt it says "not found". And another case is if i increase the size of /var to 1 MB through

rc script, the image.pkg which i get after compilation once i load the image.pkg to the

board, i will get a session in the board with all the application working & with all the

commands working, here the problem exists when i try to get a file to /var directory through

ftp, once i get a file of size anything between range of 600 kb to 1000 kb it copies the file,

and once i exit out of ftp, i start getting error of "bad frame format", what is the problem

please give me some suggestions.


#####################RC SCRIPT##########################
hostname uClinux
mount -t proc proc /proc
dd if=/dev/zero of=/dev/ram1 bs=1k count=2048
umount /var
mke2fs -vm0 -Onone /dev/ram1 2048
mount -t ext2 /dev/ram1 /mnt
cd /mnt
mkdir tmp
cd ..
umount /mnt
mount -t ext2 /dev/ram1 /var

mkdir /var/tmp
mkdir /var/log
mkdir /var/run
mkdir /var/lock
mkdir /var/vxl
mkdir /var/usb

ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.0.0.0 lo
cat /etc/motd
ifconfig eth0 down
IPADDR=`bootenv -d IPADDR`
NETMASK=`bootenv -d NETMASK`
GATEWAY=`bootenv -d GATEWAY`
ETHADDR=`bootenv -d ethaddr`
ifconfig eth0 hw ether $ETHADDR $IPADDR netmask $NETMASK
route add default gw $GATEWAY
cd /bin/
mount -t ext2 /dev/mtdblock4 /var/vxl
insmod usbcore.o
insmod hcd-1161.o
insmod scsi_mod.o
insmod sd_mod.o
insmod usb-storage.o
mount -t usbdevfs none /proc/bus/usb
./adspboot_main
./fs_main &
################## END ######################

Thanks & Regards
Suresh N
spymate is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 7 | HP DV1660se | Intel PRO/Wireless 3945ABG Niche25 Redhat / Fedora Linux Help 6 09-14-2007 06:29 AM
USB Mouse stops working during session onejeremias Redhat / Fedora Linux Help 3 09-26-2006 07:16 PM
PROBLEM - TCP client send RST after SYN/ACK PoketAces Linux Networking 0 08-03-2006 09:56 PM
Icons Not Showing. rub3x Slackware Linux Help 6 07-18-2005 06:33 AM
UT runs like hell, frame by frame... George Harrison Gaming / Games / Multimedia / Entertainment 3 05-03-2005 11:35 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 06:50 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0