tmworkz3 / mini2440

Automatically exported from code.google.com/p/mini2440
0 stars 1 forks source link

mini2440 won't boot #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I got the mini2440 from FriendlyARM reseller to write a program for it. 
Since I wanted to develop in X11/GTK, after little research I found that I 
needed GPE. Further research revealed that there is an image available 
with the instructions at: http://narnia.cs.ttu.edu/drupal/node/131.

However, trying to drop the gpe image on the device won't work. I followed 
an instructions, but when I reset the device, it didn't reboot and went to 
the error message on my HyperTerminal. Then I threw the original kernel 
image that came with the device. It didn't boot again, but now it didn't 
boot at all.

Here is some info:

MINI2440 # nand info

Device 0: NAND 256MiB 3,3V 8-bit, page size 2048, sector size 128 KiB

I would like to have a working X11/GPE mini2440 device to start debugging 
my program.

Is there a working solution somewhere either locally or on the Web?

Thank you.

Original issue reported on code.google.com by syko...@gmail.com on 3 Mar 2010 at 2:27

GoogleCodeExporter commented 9 years ago
Hi sykorot,

actually the link you report here is quite useless because all download area on 
the sublink reported on the article no longer exist, so it's pure theory. 
Actually I'm trying to build something working with gpe with openembedded but 
experiments always goes wrong because: broken recipes, sources removed, 
compilation error.
Welcome in linux world....
Francesco

Original comment by fpira...@gmail.com on 31 Jul 2010 at 12:30

GoogleCodeExporter commented 9 years ago
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!

Original comment by fireroc...@gmail.com on 30 Mar 2011 at 12:02