logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

Cannot boot from SD card with X-loader and U-boot

posted in Uncategorized
Saturday, January 28 2012, 10:44 PM
scubabuzz
scubabuzz
Offline
0
I have followed the instructions in the [url=http://labs.igep.es/index.php/How_to_boot_from_MicroSD_Card:3k74j2b2]How_to_boot_from_MicroSD_Card[/url] article on creating a bootable SD card but when booting I get the following output and then the boot process hangs without loading u-boot:
[color="#0000FF"]Texas Instruments X-Loader 1.4.4-3 (Jan 28 2012 - 08:54:09) Reading boot sector [/color]
I have MLO, x-load-ddp.bin.ift and u-boot.bin in the boot partition. I also tried the instructions in the [url=http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat:3k74j2b2]LinuxBootDiskFormat[/url] article but get the same results. I have tried with a 256M SD card and also a 2G SD card but nothing that I try has worked. I am using X-Loader 1.4.4-3 and u-boot-arm-2010.06-3 Any help is appreciated. Thanks
Responses (8)
  • Accepted Answer

    scubabuzz
    scubabuzz
    Offline
    Sunday, January 29 2012, 02:31 AM - #permalink
    0
    I just tried the X-Loader version igep-x-loader from the git repository and loaded the MLO file to the SD card but this version won\\\'t even boot and does not display any information on the terminal.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 30 2012, 09:50 AM - #permalink
    0
    Please, see this thread: [url=http://www.igep.es/index.php?option=com_kunena&Itemid=97&func=view&catid=12&id=6725]http://www.igep.es/index.php?option=com ... 12&id=6725[/url]
    The reply is currently minimized Show
  • Accepted Answer

    scubabuzz
    scubabuzz
    Offline
    Tuesday, January 31 2012, 02:08 AM - #permalink
    0
    OK, so I received the instructions from the sales department to update my flash to the latest version and also to use the writeloader which is in the git repository. The writeloader is used to write kernel files to flash but I am trying to use x-loader to boot up u-boot from the MMC SD card. I also looked at the igep-x-loader which is also modified to work with the newer flash installed into my board but that seems to use an INI file to load a linux kernel. Is there a way to use the igep-x-loader which is designed to work with the new flash to load u-boot from my SD card? Is there another way to load u-boot from an SD card on my board? Any help is appreciated, Joe
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 01 2012, 09:28 AM - #permalink
    0
    No, the IGEP-X-loader is designed to launch directly the linux kernel, in one step, without using u-boot. ISEE recommends replace the x-loader+u-boot for the new IGEP-X-loader.
    The reply is currently minimized Show
  • Accepted Answer

    wtorfs
    wtorfs
    Offline
    Sunday, March 18 2012, 10:37 AM - #permalink
    0
    I had the same problem. Although \\\'sales\\\' advised me to use the igep-x-loader code, I could not use it. It compiled and did nothing. Not even the leds started burning. According to isee support I ought to make sure that I use a certain cross-compiler, which is nonsense. I could compile the other x-loader code and even tried to compile the igep-x-loader with two different compilers. Therefore, as a workaround for our seminar(PATS embedded linux seminar - [url=http://www.pats.ua.ac.be/pels]www.pats.ua.ac.be/pels[/url]) I modified the original x-loader source code to include support for the NAND flash of the
    [b]ipegv2 RC6 board[/b]
    . I tested this patch on my boards, and I hope that I covered everything, however, you never know for sure until it is tested extensively. So, in attachement you can find the patch for x-loader and u-boot (small patch). The procedure is as follows: Make sure your CROSS_COMPILER and ARCH is set and PATH includes your cross compiler... git clone [url=git://git.igep.es/pub/scm/x-loader.git]git://git.igep.es/pub/scm/x-loader.git[/url] cd x-loader git checkout 7a4eb1c5c2a6f2c83927c7a09a335481dc054d70 -b pels git apply x-loader.pelsv5.diff make igep0020-sdcard_config make ./contrib/signGP x-load.bin Now copy your x-load.bin.ift to your mmc card and rename it to MLO (\\\'M\\\'aria \\\'L\\\'udo \\\'O\\\'liver). For the u-boot: wget ftp.denx.de/pub/u-boot/u-boot-2011.12.tar.bz2 tar -xjf u-boot-2011.12.tar.bz2 cd u-boot-2011.12 patch -p1 -i ../u-boot.pels.diff make igep0020_config make Now copy your u-boot.bin to your mmc card Test whether you can boot with your mmc card. Test this a couple of times!!! If all works as it should, you can flash your bootloaders into the NAND flash as follows: Boot the device and interrupt the u-boot countdown. You should now get a u-boot shell. The used partitioning is: 0x00000000 - 0x0007FFFF X-Loader Image 0x00080000 - 0x001FFFFF U-Boot Image 0x00200000 - 0x0027FFFF U-Boot Env Data (X-loader doesn\\\'t care) If you would like a different partitioning, please adjust the addresses in x-loader and u-boot. flash the MLO and u-boot.bin: U-Boot# mmc dev U-Boot# nandecc hw U-Boot# fatload mmc 0 81000000 MLO U-Boot# nand erase 0 80000 U-Boot# nand write 81000000 0 80000 U-Boot# nandecc sw U-Boot# fatload mmc 0 81000000 u-boot.bin U-Boot# nand erase 80000 180000 U-Boot# nand write 81000000 80000 180000 And that\\\'s it. Now you can try to boot from NAND. The first time that you get your u-boot, probably it will complain about crc error while reading the environment settings. That is because at the location where it tries to read the environment settings, nothing is written yet. just use saveenv to store the default settings into nand.
    The reply is currently minimized Show
  • Accepted Answer

    wtorfs
    wtorfs
    Offline
    Sunday, March 18 2012, 10:40 AM - #permalink
    0
    The file upload did not succeed with the previous post, lets try to rename the diffs to txt...
    The reply is currently minimized Show
  • Accepted Answer

    wtorfs
    wtorfs
    Offline
    Sunday, March 18 2012, 10:41 AM - #permalink
    0
    And again one with the right x-loader file...
    The reply is currently minimized Show
  • Accepted Answer

    wtorfs
    wtorfs
    Offline
    Sunday, March 18 2012, 10:42 AM - #permalink
    0
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat