LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 03-30-2011, 06:59 AM   #1
abhinit
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Rep: Reputation: 0
Unhappy Help with Angstrom on Mini2440 (Nothings working tried all tutorials)


Hi All,
This is my first attempt with embedded systems. My mini2440 is
completely down. I tried every tutorial available on the internet, but
nothing's happenening. I wanted to install Angstrom on

my mini2440 (1GB nand, X35, 3.5 inch display)

I tried all possible SD card boot methods. I can't find the right files and
nothing ever boots.

My last try was as follows:

>> FOR U- BOOT I FOLLOWED: http://wiki.linuxmce.org/index.php/Mini2440

Got u-boot from GIT>make>got the u-boot.bin
Boot machine from NOR
went to 'supervivi'
went to 'download vivi'
sent u-boot.bin via ./s3c
u-boot was recieved.

shifted the NAND/NOR switch

I got the MINI2440# prompt. U-boot working.

>> FOR ANGSTROM

I went through http://narcissus.angstrom-distribution.org/ to make an
image. I downloaded the tar file.
Untarred it, It had the entire rootfs
and in /boot/ it had an uImage file
rebooted machine in NOR mode
selected "download kernel"
sent uImage file via USB using ./s3c
went ok.

used mkyaffs2image tool given with mini2440 (in the DVD) to convert rootfs
untar directory to yaffs. I did:

#mkyaffs2image /path/angstromrootfs/ ./rootfs.yaffs

I got a yaffs file.

rebooted machine in NOR mode
selected "download yaffs"
sent yaffs file via USB using ./s3c
went ok.

but nothing boots....

my printenv is as follows:

MINI2440 # printenv
bootargs=root=/dev/mtdblock3 rootfstype=jffs2 console=ttySAC0,115200
bootcmd=
bootdelay=3
baudrate=115200
ethaddr=08:08:11:18:12:27
ipaddr=10.0.0.111
serverip=10.0.0.4
netmask=255.255.255.0
usbtty=cdc_acm
mtdparts=mtdparts=mini2440-nand:256k@0(u-boot),128k(env),5m(kernel),-(root)
mini2440=mini2440=0tb
bootargs_base=console=ttySAC0,115200 noinitrd
bootargs_init=init=/sbin/init
root_nand=root=/dev/mtdblock3 rootfstype=jffs2
root_mmc=root=/dev/mmcblk0p2 rootdelay=2
root_nfs=/mnt/nfs
set_root_nfs=setenv root_nfs root=/dev/nfs rw
nfsroot=${serverip}:${root_nfs}
ifconfig_static=run setenv ifconfig
ip=${ipaddr}:${serverip}::${netmask}:mini2440:eth0
ifconfig_dhcp=run setenv ifconfig ip=dhcp
ifconfig=ip=dhcp
set_bootargs_mmc=setenv bootargs ${bootargs_base} ${bootargs_init}
${mini2440} ${root_mmc}
set_bootargs_nand=setenv bootargs ${bootargs_base} ${bootargs_init}
${mini2440} ${root_nand}
set_bootargs_nfs=run set_root_nfs; setenv bootargs ${bootargs_base}
${bootargs_init} ${mini2440} ${root_nfs} ${ifconfig}
mtdids=nand0=mini2440-nand
partition=nand0,0
mtddevnum=0
mtddevname=u-boot

Environment size: 1089/131068 bytes


Can ne1 plz mention the steps for a 1GB nand x35 mini2440 to boot any os?
(even the qtopia would do! though the downloaded angstrom would be BEST!)

plz help me with the u-boot and kernel files (with links)

Please help. if ne1 can mail me thr contact details on firerocker@gmail.com
it would be very helpful, I can even give a call and get my doubts cleared.

It would be a great help!
 
Old 03-30-2011, 08:58 AM   #2
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 288
Blog Entries: 1

Rep: Reputation: 41
get qemu-system-arm -M ? -m 128
set compatiable cpu(or board if it supported) test kernel image. if it works push to device.
 
  


Reply

Tags
embedded


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet for Angstrom Linux on Pandaboard spudgunner Linux - Software 4 03-25-2011 10:38 AM
Problems of compiler Angstrom of DevKit8000 Gabriel Bosque Linux - Embedded & Single-board computer 1 10-09-2010 04:55 PM
Ipaq h2200 Angstrom Installation Sonyt2 Linux - Mobile 0 02-07-2009 12:17 PM
LXer: Java and PHP to exchange sweet nothings LXer Syndicated Linux News 0 02-07-2008 02:00 AM
No tutorials are working for me to patch orinoco drivers in Mandrake10.0. Please help buckeye4 Linux - Wireless Networking 1 06-18-2004 10:29 PM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration