I am trying to create a bootable SD card. Do the following steps make sense?

1) using (fdisk, cfdisk, ???) create 3 partitions on the card:
     p1)a partition for the UBL (uboot)
     p2)a partition for uImage
     p3)a partition for the filesystem

2) on partition 3, do a mkfs.ext2.
    I know not to use a logging fs on an sd card, but I would be
interested in other ideas. jaffs perhaps?

3) using hexedit, modify the first clear block (on a multiple of 512)
to have the following:

    0 0xA1AC EDxx Magic number (0xA1ACEDxx)
    4 Entry Point Address of UBL Entry point address for the user
boot-loader (absolute address)
    8 Number of blocks in UBL Number of blocks (size of user
boot-loader in number of blocks)
  12 Starting Block # of UBL Block number where user boot-loader is located

where the last value points to p1

4) Modify uboot so that it can boot off of an SD card. I have a patch
to make the 644x? boot off of SD, and I'm hoping it's a
straightforward port to the DM355. I also have a tech support request
in to TI, but those seem to disappear for me.

Any comments would be much appreciated.

Chris
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to