In the FAT/MBR mode, rom code searches for MLO file in the root directory, that's all it needs. In the raw mode, it searches for Configuration Header at the sectors #0, 256, 512, 768 first, to detect the raw mode valid image. Do you put CH at sector 256? Not just your MLO. If you put only MLO file at sector #256, without CH, it won't work. Look at this <https://github.com/mvduin/bbb-asm-demo> project. Read the example for the raw mode case, it has a working CH sample (because as I said, TRM documents this part awfully, it is hard to get from it how CH should look like).
пʼятниця, 18 листопада 2016 р. 13:22:27 UTC+2 користувач Paul Plankton написав: > > Hm, still not working. I have a MLO-file which works smoothly out of a > FatFS partition but when I try to write it to the MMC directly with > > sudo dd if=./MLO of=/dev/mmcblk1 count=1 seek=1 bs=128k > > and/or > > sudo dd if=./MLO of=/dev/mmcblk1 count=1 bs=128k > > the board does not boot afterwards, console only prints "CCCC". What else > could be missing? > > > Am Dienstag, 8. November 2016 19:29:15 UTC+1 schrieb RobertCNelson: >> >> On Tue, Nov 8, 2016 at 12:24 PM, Paul Plankton <[email protected]> >> wrote: >> > Hi, >> > >> > I again played yround a bit with this. My first try was an operation >> > >> > sudo cp /dev/random /dev/mmcblk1 >> > >> > From my understanding this should erase the onboard MMC completely >> together >> > with all boot data. Nevertheless when I try to boot from a board erased >> in >> > this way, there is still a u-boot coming up with a bunch of messages. >> > Finally it of course fails because it can not find an operating system >> - but >> > where does this boot sequence come from? It can't be on the on-board >> MMC and >> > a SD-card is not inserted! >> >> Or just: >> >> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10 >> >> Regards, >> >> -- >> Robert Nelson >> https://rcn-ee.com/ >> > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/6b2f9112-2fba-4a41-869d-964080598b64%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
