Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Oct 2007 12:25 PM by  messenger
M5329 - booting from Flash
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
scoti_tre@interia.pl
New Member
New Member
Posts:


--
24 Aug 2007 07:45 AM
    Hi All,

    I am newbie. I have prepared uclinux image (according AN3408), and is working well.
    Now I want to boot uclinux from internal flash memory.
    I wondering if the kernel image (vmlinuz.bin) should be placed in NOR flash, and rootfs in NAND flash. But how to set it ??, and what kind of filesystem should be used fo rootfs.
    What are the steps ??

    Maybe using some bootloader (properly configured) will make it easier ??
    Does someone has a tutorial how to approach this problem ??

    Regards,
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    24 Aug 2007 08:11 AM
    Right now I have a YAFFS nand flash partition that contains the image file and I copy the whole thing down to ram and execute it there using the Lolo bootloader. You might have to build the thing so that it specifically executes from ROM, certain parts of the kernel (like variables and stuff) have to be put into ram while it is executing. I haven't really been able to try it myself because my image is huge (like 3 MB).

    As for flash filesystems, the uclinux kernel has JFFS2 support, and you can also patch YAFFS support into it. Although if I remember correctly, there is a bug in the MTD stuff which was discovered last week that hasn't made it into the LTIB yet.
    sygi@canbus.pl
    New Member
    New Member
    Posts:


    --
    04 Oct 2007 05:30 AM
    Hi pmcelwee13

    I am also newbie at this.

    As I understand You have prepared a YAFFS partition first using LoLo.
    Then You have copied there the image.bin made by Ltib ??.

    Could the "copy from NAND to RAM procedure and execution" be done automatically (after power on) ??

    Regards
    sygi
    messenger
    New Member
    New Member
    Posts:


    --
    16 Oct 2007 12:25 PM
    You need to understand how to make LoLo scripts. It involves making a config block with "config CREATE S" I think and then "config <filename> <size>". There is a guide to creating LoLo scripts and such in the M5329 documents so I would look there.

    I am loading stuff in from a compact flash card so I have mount the compact flash card first. Now getting Linux to boot from LoLo is by no means obvious and I figured out how to do that in this forum post http://www.logicpd.com/support/tdg/viewtopic.php?t=1235

    Hope this helps
    You are not authorized to post a reply.