Is there any interest in Barebox support for the mini2440? Barebox is an advancement of u-boot: http://www.barebox.org/ Regards, Andreas
Barebox bootloader
Andreas, I have barebox running on the mini2440 when loaded into RAM (from u-boot) but I am still sorting out issues loading from NAND. How are you coming with your efforts? Scott
Hi Scott, maybe you read: http://friendlyarm.net/forum/topic/1889. I'm try to make barebox working from NAND also but currently I'm building jtag debugger to be able debug low level stuff ;) to run barebox from NOR or NAND flash. Also suppose pengutronix guys maybe participate because they have already mini2440 available.
It doesn't appear that you have barebox working from NAND either - I am working on the lowlevel_init portion using some ideas from u-boot. I see no reason for supporting both NOR and NAND boots - I think it is best to leave supervivi on NOR for just-in-case needs... The approach I am using is to detect whether the barebox is initially booting from NAND (actually from Steppingstone) or RAM if if booting from NAND the image is copied to RAM and then run. One must also initialize the I/O lines to drive essential peripherals on the mini2440. I think I have most of this worked out and hopefully will report success soon. Scott
You can try to look to barebox sources for a9m2440 which should be similar just lowlevel setup for NAND and RAM must be checked. Anyway good work ;). Waiting for news from you. marek
I have a barebox nand version of the mini2440 working, including basic FAT file loading stuff of the mmc card. I will shortly post to github since the code needs some testing, clean-up, and documentation.
Hi scott, as open-nandra stated, are you willing to forward your mini2440 patches to make barebox run from NAND to the barebox maillist? This would speed up things, as we also could comment and test your code. jbe
I've seen, Release v2011.02.0 has been released yesterday. Is there any aprovement in support for mini2440? Kind regards Dirk
Hi dirk, yes you can assist. Please try the current 'next' branch from the barebox git repo. Today Sascha added my patches for the mini2440 to support booting from NAND. open-nandra has still some problems to bring it up on his board. Maybe due to wrong SDRAM timings. My mini2440 board is shipped with the Hynix SDRAM devices, open-nandra's with devices from Micron. Both seems mostly the same, but...
Dear Juergen, Is it the right git-repo? I've tried: git clone git://git.pengutronix.de/git/barebox.git make mini2440_defconfig make I tried to download with vivi option "v" doesn't boot. Kind regards Dirk
Its really confusing. My mini2440 comes with Hynix "HY57V561620FTP-H". And I can boot it from NAND. I will try again with the slow vivi timing.
Dirk, BTW: What kind of NAND devices do you have on your board? @open-nandra: What is the NAND device on your board?
sdram: hynix H57V2562GTR-60C (2x) NAND: Samsung K9K8G08U0B PCB0 there is another chip next to NAND (same size) Spansion S29ALO16M10TF102 I don't know what it is. Kind Regards Dirk
Hi Dirk, yesterday I published a new patch ontop of barebox-next. Can you check it on your hardware please? With this patch the most common NAND flash types should be handled in a correct manner. But I can only test with my small 64 MiB flash... BTW: Can you send me the value of the register at 0x4e000000 on your board? jbe
Could you please advise how to get your patch? attached output from u-boot MINI2440 # md 0x4e000000 4e000000: 0000b77e 00000061 00000030 00000000 ~...a...0....... 4e000010: 00000000 00000000 00000000 00000000 ................ 4e000020: 00000085 01fffffa 00000000 f0ffffff ................ 4e000030: f0ffffff fcfffcff 00000000 00000000 ................ 4e000040: 00000000 00000000 00000000 00000000 ................ 4e000050: 00000000 00000000 00000000 00000000 ................ 4e000060: 00000000 00000000 00000000 00000000 ................ 4e000070: 00000000 00000000 00000000 00000000 ................ 4e000080: 00000000 00000000 00000000 00000000 ................ 4e000090: 00000000 00000000 00000000 00000000 ................ 4e0000a0: 00000000 00000000 00000000 00000000 ................ 4e0000b0: 00000000 00000000 00000000 00000000 ................ 4e0000c0: 00000000 00000000 00000000 00000000 ................ 4e0000d0: 00000000 00000000 00000000 00000000 ................ 4e0000e0: 00000000 00000000 00000000 00000000 ................ 4e0000f0: 00000000 00000000 00000000 00000000 ................ MINI2440 # Kind Regards Dirk
Hi Dirk, http://www.spinics.net/lists/u-boot-v2/msg02928.html or via subscribing to the barebox list: barebox@lists.infradead.org
A testversion of barebox for mini2440 can now be found at git://git.pengutronix.de/git/barebox.git in branch "next". Its tested yet on: - 64 MiB SDRAM Hynix, 64 MiB NAND - 64 MiB SDRAM Micron, 128 MiB NAND - 64 MiB SDRAM Micron, 256 MiB NAND (thanks marek) Comments are welcome.
Hi, My nor flash is not working . So, can i install barebox through nand itself ( i mean without involving any steps asking me to switch to nor mode ) ???
With the help of JTAG I maybe yes. Or maybe from the already present bootloader in the NAND if your NOR is empty.
@Juergen Beisert : Oh thanks .......Atleast that gives me some ray of hope ............. could you pls. share some links to get some info on that ...... ???
Dear Sir, i Didn't Know about boot-loader. I am trying Cross-Linux From Scratch(CLFS). Port on Raspberry. actually i success from LFS, so now trying CLFS. but i don't understand about boot loader. so, Can you suggest.?