All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] installing u-boot on a virtual x86 machine
Date: Tue, 28 Apr 2015 18:45:58 +0800	[thread overview]
Message-ID: <CAEUhbmUvGRJ+BdcvFO8EjD0y+jTaQ_Eoppot0RWEDfDVwkT50A@mail.gmail.com> (raw)
In-Reply-To: <CAKauJMq9Ap0S-X0M7EvX6vOqQprv2f95Z+Fq9w31xx4jLDF8Aw@mail.gmail.com>

Hi Francesco,

On Tue, Apr 28, 2015 at 4:40 PM, Francesco Lucconi <luccons@gmail.com> wrote:
> Here you have the 512 bytes of MBR within the Virtual Disk Image (VID) of
> virtualbox. As you can notice there's not clearly the string "Error!"
> mentioned on previous screenshot.
> About MBR building to ease the procedure, I've created the MBR code
> automatically with PartitionGuru application...
>

Could you please provide detailed setup instructions (like how you
generated the u-boot binary, how you setup the virtual machine and
MBR, etc), so that I can have a try in my environment?

And please stop top posting.

> 2015-04-28 10:25 GMT+02:00 Bin Meng <bmeng.cn@gmail.com>:
>>
>> Hi Francesco,
>>
>> On Tue, Apr 28, 2015 at 4:23 PM, Francesco Lucconi <luccons@gmail.com>
>> wrote:
>> > Yes, I've readed the README.x86 document provided from uboot, I've
>> > created
>> > my u-boot-dtb.bin following the rules of coreboot-x86 recipe.
>> > I suppose I have to apply several tunings since I'm working with a PC
>> > with
>> > i7-2600 Intel Core CPU, right?
>> > Here you have the screenshots of some starting phases on virtualbox
>> > platform
>> > (I've attached the files even if I think they don't give many
>> > information).
>> >
>>
>> Looks like the 'error' message is printed by the MBR loader codes. Can
>> you point us the source of the MBR?
>>
>> >
>> > 2015-04-27 17:50 GMT+02:00 Simon Glass <sjg@chromium.org>:
>> >>
>> >> Hi Francesco,
>> >>
>> >> On 27 April 2015 at 00:56, Francesco Lucconi <luccons@gmail.com> wrote:
>> >> >
>> >> > 2015-04-25 1:04 GMT+02:00 Bin Meng <bmeng.cn@gmail.com>:
>> >> >>
>> >> >> Hi Francesco,
>> >> >>
>> >> >> On Fri, Apr 24, 2015 at 3:20 PM, Francesco Lucconi
>> >> >> <luccons@gmail.com>
>> >> >> wrote:
>> >> >> > I'm Francesco Lucconi from Italy, and I'm involved into a x86
>> >> >> > project
>> >> >> > where
>> >> >> > my issue is to compile a u-boot (I'm currently using
>> >> >> > uboot-2015.01)
>> >> >> > and
>> >> >> > to
>> >> >> > install it into a VID (virtual image disk) of virtualbox.
>> >> >> >
>> >> >> >
>> >> >> > I've already tuned the MBR, registering two FAT16 partitions, one
>> >> >> > for
>> >> >> > u-boot and the other one for future kernel uImage and firmware
>> >> >> > development.
>> >> >> > In this moment I figured out that I've installed correctly the MBR
>> >> >> > cause
>> >> >> > I
>> >> >> > can see on the display strings I've applied on the MBR source code
>> >> >> > but
>> >> >> > it
>> >> >> > seems that u-boot.bin code doesn't run correctly, the system hangs
>> >> >> > out....
>> >> >> > Could you give me any tips I didn't notice before?
>> >> >>
>> >> >> Could you elaborate more on what BIOS is being used, and what MBR
>> >> >> codes is that? Is it grub?
>> >> >>
>> >> >>
>> >> >> Regards,
>> >> >> Bin
>> >> >
>> >> >
>> >> > @Simon Glass: About u-boot I'm using coreboot_x86 config, and with
>> >> > u-boot.srec I noticed that I received several prints of startup (
>> >> > like
>> >> > this
>> >> > "......................" ) but later the virtual machine hangs up.
>> >>
>> >> Did you follow the instruction sin README.x86? Can you provide console
>> >> output?
>> >> >
>> >> > @Bin Meng: I'm using BIOS embedded of Virtualbox platform and I've
>> >> > customized the 512 bytes MBR data with several debug prints and with
>> >> > the
>> >> > partitions table based on the features of my FAT16 partitions.
>> >> >
>> >> > Regards,
>> >> > Francesco
>> >> >
>> >>
>>

Regards,
Bin

  reply	other threads:[~2015-04-28 10:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24  7:20 [U-Boot] installing u-boot on a virtual x86 machine Francesco Lucconi
2015-04-24 20:24 ` Simon Glass
2015-04-24 23:04 ` Bin Meng
2015-04-27  6:56   ` Francesco Lucconi
2015-04-27 15:50     ` Simon Glass
2015-04-28  8:23       ` Francesco Lucconi
2015-04-28  8:25         ` Bin Meng
2015-04-28  8:40           ` Francesco Lucconi
2015-04-28 10:45             ` Bin Meng [this message]
2015-04-28 11:05               ` Francesco Lucconi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEUhbmUvGRJ+BdcvFO8EjD0y+jTaQ_Eoppot0RWEDfDVwkT50A@mail.gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.