Skip to contentSkip to conversation

u-boot on x86, how to?

U-Boot-Users Geraldo Netto 5 participants 7 messages Jul 26, 2008 – Jul 27, 2008

lore
Share & tools
lore
#0 lore raw

Hi guys,

how are you doing?

guys, i'm trying to make u-boot for x86
i tried the steps at http://www.denx.de/wiki/DULG/Manual
but i was not able to make it work on x86
does anyone have any tip/doc(s) on how to make u-boot work on x86? i'd really appreciate that help :P

Kind Regards and Best Wishes,

Geraldo
S?o Paulo, Brasil, -3gmt
site: http://exdev.sf.net/
msn: geraldo_boca_at_hotmail.com
skype: geraldo-netto
icq: 145-061-456

#1 lore raw

Geraldo Netto a ?crit :

Quoted 4 lines

i tried the steps at http://www.denx.de/wiki/DULG/Manual
but i was not able to make it work on x86
does anyone have any tip/doc(s) on how to make u-boot work on x86? i'd really appreciate that help :P

Hello,

You *might* get some help if you specify what exactly you tried, what succeeded, what did not succeed and what was the actual vs expected outcome of the unsuccessful step, including error messages.

Amicalement,

Signature · 1 line
Albert.
#2 lore raw

Hi Albert,
Thank you very much for your support/help :)
i actually didn't want be harsh with my words :(
i'm pretty newbie, *really*
and what i did is:

sudo tar xjvf u-boot-1.3.3.tar.bz2 -C /usr/src

then i tried:

make distclean canyonlands_config all
(as i read at http://www.denx.de/wiki/view/DULG/UBootConfiguration )

and i got:

mbdev-deb:/usr/src/u-boot-1.3.3# make distclean canyonlands_config all
Configuring for canyonlands board...
System not configured - see README
make: ** [all] Erro 1

also, as you all can easely see, i was not able to 'configure' the system i tried many other things in a 'adhoc' way and i still not able to handle this :(

Kind Regards and Best Wishes,

Geraldo
S?o Paulo, Brasil, -3gmt
site: http://exdev.sf.net/
msn: geraldo_boca_at_hotmail.com
skype: geraldo-netto
icq: 145-061-456

2008/7/26 Albert ARIBAUD <[email protected]>:

Quoted 17 lines

Geraldo Netto a ?crit :

Quoted 4 lines

i tried the steps at http://www.denx.de/wiki/DULG/Manual
but i was not able to make it work on x86
does anyone have any tip/doc(s) on how to make u-boot work on x86? i'd really appreciate that help :P

Hello,

You *might* get some help if you specify what exactly you tried, what succeeded, what did not succeed and what was the actual vs expected outcome of the unsuccessful step, including error messages.

Amicalement,
--
Albert.

#3 lore raw

Hi Geraldo,

Quoted 4 lines · Geraldo Netto

Hi Albert,
Thank you very much for your support/help :)
i actually didn't want be harsh with my words :(
i'm pretty newbie, *really*

I haven't tried to build U-boot for x86 target, but am led to believe that it's not easy. If you're a newbie, it may not be for you.

Quoted 9 lines

and what i did is:

sudo tar xjvf u-boot-1.3.3.tar.bz2 -C /usr/src

then i tried:

make distclean canyonlands_config all
(as i read at http://www.denx.de/wiki/view/DULG/UBootConfiguration )

Each target has a config file in include/configs. When you 'make' canyonlands_config, you're telling the build system to set things up for a target called 'canyonlands'. This target is a PowerPC target, not x86. You need to find one that's close to your hardware or make your own.

Quoted 11 lines

and i got:

mbdev-deb:/usr/src/u-boot-1.3.3# make distclean canyonlands_config all
Configuring for canyonlands board...
System not configured - see README
make: ** [all] Erro 1

also, as you all can easely see, i was not able to 'configure' the system i tried many other things in a 'adhoc' way and i still not able to handle this :(

You're seriously missing some big concepts and trying things without understanding them will only lead to pain. Ask yourself why you want U-boot on an x86 target. Grub or Lilo may be a better fit.

regards,
Ben

#4 lore raw
In reply to Geraldo Netto
Quoted 7 lines · In message <[email protected]> you…

sudo tar xjvf u-boot-1.3.3.tar.bz2 -C /usr/src

then i tried:

make distclean canyonlands_config all
(as i read at http://www.denx.de/wiki/view/DULG/UBootConfiguration )

You mention "u-boot on x86" in the subjct - are you aware that the Canyonlands board is not x86, but PPC?

What you should do is:

make distclean
make canyonlands_config
make all

Do not try to perform all there steps in a single call to make - this cannot work.

Quoted 4 lines
mbdev-deb:/usr/src/u-boot-1.3.3# make distclean canyonlands_config all
Configuring for canyonlands board...
System not configured - see README
make: ** [all] Erro 1

This is caused by your incorrect call to make - see above.

Quoted 3 lines

also, as you all can easely see, i was not able to 'configure' the system i tried many other things in a 'adhoc' way and i still not able to handle this :(

Please read the manual - it describes step by step what to do. If you had follwed the examples, aboveerror could have been avoided. See http://www.denx.de/wiki/view/DULG/Manual?stickboard=canyonlands

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If there are self-made purgatories, then we all have to live in them.
	-- Spock, "This Side of Paradise", stardate 3417.7
#5 lore raw

Hi :)

regarding ppc boards,oh, i didn't know that
actually i'm a 22yo newbie guy which is interested in u-boot because i do study information systems in Brazil and i'm doing a linux distro for thin clients(as a final course project->monograph+software) and i got interested in u-boot because it seems the *correct* bootloader for my project
ie: it seems far smaller than other ones and at once offers many features :) and i also studied/setup grub/lilo/syslinux :)
i need to compare bootloaders and write down the features of each one and show which bootloader is better for each case
ie: which one has 'best' features for diskless boot;
which one is better for local boot(size, 'dinamyc configuration(ie:
pass parameter on the fly)',...,...;
...

Kind Regards and Best Wishes,

Geraldo
S?o Paulo, Brasil, -3gmt
site: http://exdev.sf.net/
msn: geraldo_boca_at_hotmail.com
skype: geraldo-netto
icq: 145-061-456

2008/7/26 Wolfgang Denk <[email protected]>:

Quoted 47 lines
Quoted 7 lines · In message <[email protected]> you…

sudo tar xjvf u-boot-1.3.3.tar.bz2 -C /usr/src

then i tried:

make distclean canyonlands_config all
(as i read at http://www.denx.de/wiki/view/DULG/UBootConfiguration )

You mention "u-boot on x86" in the subjct - are you aware that the Canyonlands board is not x86, but PPC?

What you should do is:

make distclean
make canyonlands_config
make all

Do not try to perform all there steps in a single call to make - this cannot work.

Quoted 4 lines
mbdev-deb:/usr/src/u-boot-1.3.3# make distclean canyonlands_config all
Configuring for canyonlands board...
System not configured - see README
make: ** [all] Erro 1

This is caused by your incorrect call to make - see above.

Quoted 3 lines

also, as you all can easely see, i was not able to 'configure' the system i tried many other things in a 'adhoc' way and i still not able to handle this :(

Please read the manual - it describes step by step what to do. If you had follwed the examples, aboveerror could have been avoided. See http://www.denx.de/wiki/view/DULG/Manual?stickboard=canyonlands

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If there are self-made purgatories, then we all have to live in them.
-- Spock, "This Side of Paradise", stardate 3417.7

#6 lore raw

Hi Geraldo,
your final course project appear very interesting.

As others guys already said porting U-Boot to your board is a hard work. Verifying Makefile I found for i386 only AMD SC520 boards are supported.

I think you can use coreboot (formerly LinuxBIOS) and FILO to boot your board.

If your thin client board is not supported
(http://www.coreboot.org/Supported_Motherboards) you can use VIA pc2500 board that is being mass produced here in Brazil and is cheap.

You can use this tutorial as start point if you don't have a supported hardware:
http://www.coreboot.org/QEMU_Build_Tutorial

Best Regards,

Alan

2008/7/26 Geraldo Netto <[email protected]>:

Quoted 87 lines

Hi :)

regarding ppc boards,oh, i didn't know that
actually i'm a 22yo newbie guy which is interested in u-boot because i do study information systems in Brazil and i'm doing a linux distro for thin clients(as a final course project->monograph+software) and i got interested in u-boot because it seems the *correct* bootloader for my project
ie: it seems far smaller than other ones and at once offers many features :) and i also studied/setup grub/lilo/syslinux :)
i need to compare bootloaders and write down the features of each one and show which bootloader is better for each case
ie: which one has 'best' features for diskless boot;
which one is better for local boot(size, 'dinamyc configuration(ie:
pass parameter on the fly)',...,...;
...

Kind Regards and Best Wishes,

Geraldo
S?o Paulo, Brasil, -3gmt
site: http://exdev.sf.net/
msn: geraldo_boca_at_hotmail.com
skype: geraldo-netto
icq: 145-061-456

2008/7/26 Wolfgang Denk <[email protected]>:

Quoted 38 lines
Quoted 7 lines · In message <[email protected]> you…

sudo tar xjvf u-boot-1.3.3.tar.bz2 -C /usr/src

then i tried:

make distclean canyonlands_config all
(as i read at http://www.denx.de/wiki/view/DULG/UBootConfiguration )

You mention "u-boot on x86" in the subjct - are you aware that the Canyonlands board is not x86, but PPC?

What you should do is:

make distclean
make canyonlands_config
make all

Do not try to perform all there steps in a single call to make - this cannot work.

Quoted 4 lines
mbdev-deb:/usr/src/u-boot-1.3.3# make distclean canyonlands_config all
Configuring for canyonlands board...
System not configured - see README
make: ** [all] Erro 1

This is caused by your incorrect call to make - see above.

Quoted 3 lines

also, as you all can easely see, i was not able to 'configure' the system i tried many other things in a 'adhoc' way and i still not able to handle this :(

Please read the manual - it describes step by step what to do. If you had follwed the examples, aboveerror could have been avoided. See http://www.denx.de/wiki/view/DULG/Manual?stickboard=canyonlands

Best regards,

Quoted 9 lines

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If there are self-made purgatories, then we all have to live in them.
-- Spock, "This Side of Paradise", stardate 3417.7

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users