You seriously think the ROM is trying to execute x86 code out of LSN 0???? Carl
On Tue, Apr 12, 2016 at 1:23 PM, William Hermans <[email protected]> wrote: > Oh, and if you're really creative, you can actually take that "trash" in > the MBR, and make it jump to a specific location in memory . . . before the > OS even loads. Hopefully, we all understand what that means ;) > > On Tue, Apr 12, 2016 at 10:16 AM, William Hermans <[email protected]> > wrote: > >> *Segfault. What has that got to do with the ROM not recognizing a >>> partition table?* >>> >> >> What Robert said above, but also not necessarily segfault. It's undefined >> behavior, as in no one can say what will happen, until it happens. There >> *is* a very good chance it'll segfault, but there is a chance said code >> could seem to work fine, or even fail silently. I've seen all three cases >> personally. >> >> So we have no idea how the OP's media was cleared, when attempting to put >> the first, and second stage bootloaders on that media. But it seems to be >> clear that the MBR contained trash from a previous partition table. Or >> simply just trash. >> >> On Tue, Apr 12, 2016 at 9:52 AM, Robert Nelson <[email protected]> >> wrote: >> >>> >>> >>> On Tue, Apr 12, 2016 at 11:41 AM, Carl Krieder <[email protected]> >>> wrote: >>> >>>> Segfault. What has that got to do with the ROM not recognizing a >>>> partition table? >>>> >>> >>> Everything... The boot ROM is pretty basic..if you have noise/etc >>> anywhere where the bootrom expects "something"... (it's normally looking >>> for a short header) >>> >>> Well, the bootrom can get lost pretty easily.. >>> >>> As long as you: >>> >>> 1: /dev/zero the first 1MB of the drive >>> 2: create your partition table ignoring the first 1MB >>> 3: dd the MLO/u-boot.img into the first 1MB >>> >>> You can have pretty much 'any' rootfs format that u-boot supports... >>> >>> 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]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/VkEDlXayFB8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
