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!
Mini2440 dead, U-boot doesn't boot anything. No kernel, No fs.
k I installed the u-boot256M.bin which came with it... still now idea how to go ahead with the angstrom installation :(
What does "but nothing boots...." mean? Can you send us more output when uboot starts the kernel (or at least try to start it) than you sent already?
So, the u-boot and uImage procedure works. What are you using to download your zImage with? DNW, I hope.
Let's try again . . . What is this file <.s3c>? Is is not <./s3c2410_boot_usb u-boot.bin>. Also, after using DNW in NOR to put u-boot in NAND I think you have "lost" your DNW loader program and possibly the different way they do their bad block testing. As far as I am aware: zimages DNW in NOR and follow Mini2440 Downloader Instructions OR uImages DNW in NOR and follow http://narnia.cs.ttu.edu/drupal/node/131
I need convert zImage to uImage kindly inform me how to convert it. Kindly maillme the uImage.bin file also send the software currently i am using fedora -14. I tried mkimage but it didn't work. Is it possible to boot from USB instead of SD card????.. Thank You Md Nurul Hassan
For a 64M machine: [mini2440-bootstrap] # sudo ./uboot/mini2440/tools/mkimage –A arm –O linux -T kernel -C none –a 0x30008000 –e 0x30008000 -d kernel-bin/arch/arm/boot/zImage output/uImage You have change the directories, ie where your zImage is and where you want the uImage. Or place mkimage and the zImage in a separate folder and run this command: ./mkimage –A arm –O linux -T kernel -C none –a 0x30008000 –e 0x30008000 -d zImage uImage Never heard anyone booting the mini2440 from USB. Perhaps, bootloader support for USB is a big challenge!
can i download my uImage using usb port on Fedora12 os. if it is possible, what is the procedure to do this? if i can not download uImage using USB port what is the use of usb port????
The Pengutronix BSP distro will put the barebox bootloader on the target using <usbpush>. Then you can either use tftp to flash the kernel and rootfs OR tftp to flash the kernel and NFS to give access to a rootfs on your host machine. USB ports are used for a lot of other things then just trying to get a uImage into the target.