Hello, i recently buyed mini2440 with 1GB nand. it's a great toy:) but now I want to use u-boot. I tried the u-boot from git, compiled it without problems and flashed to nand. But I have problem with the bad block table. I have executed: nand scrub nand createbbt but after the last command the system hangs up. The bab block tables are not written. Had anybody success to run u-boot with 1GB board. thanks.
u-boot for 1GB nand?
This could be just a time issue. I think i'm right in saying the larger the NAND size the longer this takes, and there is no output from uboot to say the process is still going. I too thought it had hung. But if you leave it a long time, it should come back to the command prompt. Worth a try anyway.
Hello, I still have a problem with u-boot on my 1GB mini2440, I've compiled u-boot from the git source and flashed the board from supervivi using "load flash 0 239636 u" and the windows DNW uploader. I used this guide: http://wiki.linuxmce.org/index.php/Mini2440 It went fine, but if I restart it, it goes to supervivi again. Is that right? I tought it should go to u-boot in the NOR mode and not to supervivi anymore. And if I switch back the NOR-switch to the "off-postion/away from the boards edge" NAND-mode, then I get into u-boot and have the "MINI2440#" to type at. If I type "nand scrub" and press y (yes) then it doesn't seem to do anything for at least 25min (cancelled it after 25min), can it really take so long? I also tried another method, from http://bill.station51.net/index.php?post/2010/01/16/U-Boot-on-Mini2440 I did this: "load ram 0x32000000 239636 u" and then "go 0x32000000". Then I get the following output: Supervivi> go 0x32000000 go to 0x32000000 argument 0 = 0x00000000 argument 1 = 0x00000000 argument 2 = 0x00000000 argument 3 = 0x00000000 and I don't get the "MINI2440#" like in that guide. What am I doing wrong? Is here anybody else that has installed u-boot into a 1GB NAND mini2440 board?
stereo_m, I don't think you are doing anything wrong, please look at my posts in the forum Linux and the thread "Linux, u-boot, 256M NAND and rootfs". I've been trying to describe the problem to various people. I do know that the u-boot repository is different from the version that I downloaded a while ago and I suspect that the change has caused some difficulty with some of the boards. I'm using the 256M version. If you read the thread you can see what I'm talking about and how far I've gotten so far in trying to convince people of this. As of now I only suspect a problem. Who ever is maintaining the u-boot for mini2440 needs to verify that this is a problem. Cheers!!
Thank god I stumbled onto this post, I thought I was going crazy ;-) Didn't think there was any problems to be expected with the 1Gb variant (default images worked fine: qtopia, android). I also have a mini2440 with 1Gb and have tried all the posts I could find on the internet for the past week. Loading u-boot from USB is not a problem, running it from RAM: just fine. Writing to NAND: OK (according to u-boot) but then flipping the switch to boot from NAND... nothing. Booting from NOR and pressing "b" sometimes gives me the oob-error, but then booting again, it doesn't do that. Sometimes it gives off weird signals on the serial line. All very erratic and hard to debug. Using the default images for qtopia still work fine, so the device is not broken.
Bloggins666: if you have a u-boot which is working at least partly for the 256MB version, could you upload the u-boot.bin somewhere so I could try it on my 1GB board? Grumblz: so can you run u-boot from ram? I can't start it from ram, I get the following output, and it just stops there: Supervivi> go 0x32000000 go to 0x32000000 argument 0 = 0x00000000 argument 1 = 0x00000000 argument 2 = 0x00000000 argument 3 = 0x00000000 I can load u-boot to NAND and it works when the switch is in NAND mode, but it says: "*** Warning - bad CRC or NAND, using default environment" and I'm not sure it works as it should because I can't do the "nand scrub" and "nand createbbt" because then u-boot whipes out itself. So there are probably bad blocks where u-boot is saved in nand. Is it possible to transfer u-boot to NAND from supervivi, start u-boot from nand, load u-boot to ram from u-boot (from the pc), and then do "nand scrub and nand createbbt", and save u-boot to NAND? How can I load u-boot to ram from the pc when I'm already in u-boot which is on the NAND?
U-boot seems to work fine on my 1GB board with the instructions posted in the comments here: http://bill.station51.net/index.php?post/2010/01/16/U-Boot-on-Mini2440 But when I try to load the kernel, I get this error message: Loading from NAND 1GiB 3,3V 8-bit, offset 0x60000 Image Name: Created: 2009-02-13 13:30:46 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1598560 Bytes = 1.5 MB Load Address: 30008000 Entry Point: 30008000 ## Booting kernel from Legacy Image at 32000000 ... Image Name: Created: 2009-02-13 13:30:46 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1598560 Bytes = 1.5 MB Load Address: 30008000 Entry Point: 30008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux............................................................. ........................................... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x000007cf). Available machine support: ID (hex) NAME 0000016a QQ2440V3 Please check your kernel config and/or bootloader. How do I get rid of the "Error: unrecognized/unsupported machine ID (r1 = 0x000007cf)."? If someone can post a working u-boot+kernel combination, I would be really happy.
I just tried the other uImage-file I got when I compiled, and it worked fine!! So I had been using a 1.5MB image, and it worked with the 1.9MB one... So now I seem to have u-boot, kernel and rootfs working on the 1GB board.
Hello all, I am new to mini2440-friendlyarm, i saw stereo_m's problem as below ------------- so can you run u-boot from ram? I can't start it from ram, I get the following output, and it just stops there: Supervivi> go 0x32000000 go to 0x32000000 argument 0 = 0x00000000 argument 1 = 0x00000000 argument 2 = 0x00000000 argument 3 = 0x00000000 ------- I too stuck up here, please tell me how to make u-boot run from ram. FYI: If i load same u-boot to nand its working
Guys... I solved this problem... The mistake is: copy u-boot to RAM and make Supervivi goes to ADDR 0x32000000 to force the processor get the new instruction code from this addr memory... No, this way doesn't work for me... I used J-TAG to download the u-boot-nand16k.bin(see attachment) to NOR flash, and works properly... :D This is it... ^^
i have installed uboot256.bin on 1gb nand flash but it is not detecting sd/mmc card nor tftp installation. if any one has installed kernel succefully on 1gb nand flash please give me suggestions
Hi, I cross compiled Uboot source available in the downloads section of mini2440 and when used that binary it was not working. When I used u-boot-nand16k.bin downloaded from this link attached by Bruno Henrique Viecelli it worked. I want to have the source code for that. Where can I get that? Please reply!