From: Kendall Y. <gu...@ya...> - 2011-08-19 13:17:21
|
Hey guys. I am still stuck on trying to load the MLO file from my bootable SD card to NAND. I have the instruction page but am not having much luck with the syntax. I was hoping some out there would understand it. The command I am stuck on is fatload. Here is the syntax fatload <interface> <dev[:part]> <addr> <filename> [bytes] The example uses the command like this Overo # fatload mmc 0 $loadaddr MLO Based on what I know the way this is working is fatload pulls a file into memory from a FAT file system and holds it to be placed in NAND later. (mmc 0) refers to the location of the file. In this case it is on an SD card and is the first file on the card. Question there is does fatload always take the first file? Next is the <addr> argument. To me it looks like this is the temp file that will hold MLO until you write to NAND. So is this arbitrary? Last is the name of the file, MLO. Why does it need this if it knows where the file is held on the drive? Hope I am not to far off. Kendall |
From: Kendall Y. <gu...@ya...> - 2011-08-19 14:26:51
|
Ok so as an update to this I believe that my issue may be that I can't address my SD card. I am booting from it so it is connected but I noticed that in my version of u-boot that the mmcinit command is no longer available. I have been looking through the u-boot docs all morning and haven't found anything saying that. I have tried using "mmc info" and have found that it is aware of the card so I assume, yes I know that makes an ass out of me, that the mmc initilized at startup now so they dropped the command. I still am not clear on how this effects the syntax of "fatload" Kendall ________________________________ From: Kendall York <gu...@ya...> To: "gum...@li..." <gum...@li...> Sent: Friday, August 19, 2011 9:17 AM Subject: [Gumstix-users] Syntax Hey guys. I am still stuck on trying to load the MLO file from my bootable SD card to NAND. I have the instruction page but am not having much luck with the syntax. I was hoping some out there would understand it. The command I am stuck on is fatload. Here is the syntax fatload <interface> <dev[:part]> <addr> <filename> [bytes] The example uses the command like this Overo # fatload mmc 0 $loadaddr MLO Based on what I know the way this is working is fatload pulls a file into memory from a FAT file system and holds it to be placed in NAND later. (mmc 0) refers to the location of the file. In this case it is on an SD card and is the first file on the card. Question there is does fatload always take the first file? Next is the <addr> argument. To me it looks like this is the temp file that will hold MLO until you write to NAND. So is this arbitrary? Last is the name of the file, MLO. Why does it need this if it knows where the file is held on the drive? Hope I am not to far off. Kendall ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Neil M. <ne...@gu...> - 2011-08-19 15:41:11
|
Hi Kendall, Try these instructions. I will update the gumstix.org to replace mmc init. http://sakoman.com/OMAP/how-to-write-x-loader-to-nand.html - Neil On Fri, Aug 19, 2011 at 7:26 AM, Kendall York <gu...@ya...> wrote: > Ok so as an update to this I believe that my issue may be that I can't > address my SD card. I am booting from it so it is connected but I noticed > that in my version of u-boot that the mmcinit command is no longer > available. I have been looking through the u-boot docs all morning and > haven't found anything saying that. I have tried using "mmc info" and have > found that it is aware of the card so I assume, yes I know that makes an ass > out of me, that the mmc initilized at startup now so they dropped the > command. I still am not clear on how this effects the syntax of "fatload" > > Kendall > ________________________________ > From: Kendall York <gu...@ya...> > To: "gum...@li..." > <gum...@li...> > Sent: Friday, August 19, 2011 9:17 AM > Subject: [Gumstix-users] Syntax > > Hey guys. I am still stuck on trying to load the MLO file from my bootable > SD card to NAND. I have the instruction page but am not having much luck > with the syntax. I was hoping some out there would understand it. The > command I am stuck on is fatload. Here is the syntax > fatload <interface> <dev[:part]> <addr> <filename> [bytes] > The example uses the command like this > > Overo # fatload mmc 0 $loadaddr MLO > Based on what I know the way this is working is fatload pulls a file into > memory from a FAT file system and holds it to be placed in NAND later. (mmc > 0) refers to the location of the file. In this case it is on an SD card and > is the first file on the card. Question there is does fatload always take > the first file? Next is the <addr> argument. To me it looks like this is the > temp file that will hold MLO until you write to NAND. So is this arbitrary? > Last is the name of the file, MLO. Why does it need this if it knows where > the file is held on the drive? Hope I am not to far off. > > Kendall > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > |