Skip to contentSkip to conversation

RFC: U-Boot package clean up

DISCUSSION Philip Balister 7 participants 11 messages Apr 10, 2007 – Apr 22, 2007

lore
Share & tools
lore
#0 lore raw

Currently we have a uboot directory and a uboot-utils directory in the metadata. I would like to consolidate these into one directory called u-boot (to match the source file naming convention).

At the same time, I would like to delete some old versions of u-boot bb files. I'd like to keep 1.1.6, 1.2.0, and the git bb files.

I created the LABEL.2006.06.30.2020 file for the omap5912osk machine, it is no longer needed as release version of u-boot support the hardware now.

Does anyone know about the other u-boot targets?

uboot-gta01_svn.bb
u-boot-linkstationppc
u-boot-linkstationppc_git.bb u-boot-mkimage-gta01-native_svn.bb uboot-qt2410_0.0+cvs20061030.bb
uboot-utils_1.1.2.bb <- This is PR5 and the one in the uboot-utils is PR4

Philip

#1 lore raw

Hello, Guys,

I am using "bitbake opie-image" do OE compiling. But got lots of errors like below. Someone suggested me add package "libqt4-dev", I added it, and in the local.conf, my ASSUME_PROVIDED is set as ASSUME_PROVIDED += "libqt4-dev qt4-native moc-native". But I still have these errors. Anyone has ideas? Thanks!

The errors are:

| qbuttongroup.cpp:(.text+0x2b3): undefined reference to `vtable for QButtonGroup'
| qbuttongroup.cpp:(.text+0x2ba): undefined reference to `vtable for QButtonGroup'
| qbuttongroup.cpp:(.text+0x30b): undefined reference to `vtable for QGroupBox'
| qbuttongroup.cpp:(.text+0x312): undefined reference to `vtable for QGroupBox'

| qbuttongroup.cpp:(.text+0x346): undefined reference to `vtable for QFrame'
| qbuttongroup.cpp:(.text+0x34d): undefined reference to `vtable for QFrame'
| /stuff/tmp/work/i686-linux/uicmoc-native-2.3.10-r2/qt-2.3.10/lib/libqte.a(

qbuttongroup.o): In function `QButtonGroup::QButtonGroup(int, Qt::Orientation, QString const&, QWidget*, char const*)':
| qbuttongroup.cpp:(.text+0x427): undefined reference to `vtable for QButtonGroup'
| qbuttongroup.cpp:(.text+0x42e): undefined reference to `vtable for QButtonGroup'
| /stuff/tmp/work/i686-linux/uicmoc-native-2.3.10-r2/qt-2.3.10/lib/libqte.a( qbuttongroup.o): In function `QButtonGroup::QButtonGroup(int, Qt::Orientation, QString const&, QWidget*, char const*)':
| qbuttongroup.cpp:(.text+0x477): undefined reference to `vtable for QButtonGroup'
| qbuttongroup.cpp:(.text+0x47e): undefined reference to `vtable for QButtonGroup'
| /stuff/tmp/work/i686-linux/uicmoc-native-2.3.10-r2/qt-2.3.10/lib/libqte.a( qbuttongroup.o): In function `QButtonGroup::QButtonGroup(int, Qt::Orientation, QWidget*, char const*)':
| qbuttongroup.cpp:(.text+0x4c0): undefined reference to `vtable for QButtonGroup'
| /stuff/tmp/work/i686-linux/uicmoc-native-2.3.10-r2/qt-2.3.10/lib/libqte.a( qbuttongroup.o):qbuttongroup.cpp:(.text+0x4c7): more undefined references to `vtable for QButtonGroup' follow
| /stuff/tmp/work/i686-linux/uicmoc-native-2.3.10-r2/qt-2.3.10/lib/libqte.a( qbuttongroup.o): In function `QButtonGroup::buttonClicked()':
| qbuttongroup.cpp:(.text+0x6ac): undefined reference to `QButtonGroup::clicked(int)'
| /stuff/tmp/work/i686-linux/uicmoc-native-2.3.10-r2/qt-2.3.10/lib/libqte.a( qbuttongroup.o): In function `QButtonGroup::buttonReleased()':
| qbuttongroup.cpp:(.text+0x72a): undefined reference to `QButtonGroup::released(int)'
| /stuff/tmp/work/i686-linux/uicmoc-native-2.3.10-r2/qt-2.3.10/lib/libqte.a( qbuttongroup.o): In function `QButtonGroup::~QButtonGroup()':
| qbuttongroup.cpp:(.text+0xf43): undefined reference to `vtable for QButtonGroup'
| qbuttongroup.cpp:(.text+0xf4a): undefined reference to `vtable for QButtonGroup'
| qbuttongroup.cpp:(.text+0xf9b): undefined reference to `vtable for QGroupBox'
| qbuttongroup.cpp:(.text+0xfa2): undefined reference to `vtable for QGroupBox'

Thanks,
Wenbin

#2 lore raw
In reply to Philip Balister
Quoted 4 lines · Philip Balister

Currently we have a uboot directory and a uboot-utils directory in the metadata. I would like to consolidate these into one directory called u-boot (to match the source file naming convention).

Quoted 8 lines

At the same time, I would like to delete some old versions of u-boot bb files. I'd like to keep 1.1.6, 1.2.0, and the git bb files.

I created the LABEL.2006.06.30.2020 file for the omap5912osk machine, it is no longer needed as release version of u-boot support the hardware now.

Does anyone know about the other u-boot targets?

This is for the openmoko phone, I believe.

Quoted 1 line

uboot-gta01_svn.bb

These are recently added by me, for PPC-based linkstations:

Quoted 2 lines

u-boot-linkstationppc
u-boot-linkstationppc_git.bb

I think I moved uboot-utils away from the uboot-utils directory and into u-boot. Either way, it's not quite done yet. I'll take a look at them and remove whichever one is "wrong".

Quoted 1 line

uboot-utils_1.1.2.bb <- This is PR5 and the one in the uboot-utils is PR4

Øyvind

#3 lore raw
Quoted 2 lines · Øyvind Repvik

I think I moved uboot-utils away from the uboot-utils directory and into u-boot. Either way, it's not quite done yet. I'll take a look at them and remove whichever one is "wrong".

Quoted 1 line

uboot-utils_1.1.2.bb <- This is PR5 and the one in the uboot-utils is PR4

I think uboot-utils belongs in the u-boot directory.

Can we modify u-boot.inc to create the u-boot-utils package internally?

Philip

#4 lore raw
Quoted 9 lines · Philip Balister
Quoted 6 lines · Øyvind Repvik

I think I moved uboot-utils away from the uboot-utils directory and into u-boot. Either way, it's not quite done yet. I'll take a look at them and remove whichever one is "wrong".

Quoted 2 lines

uboot-utils_1.1.2.bb <- This is PR5 and the one in the uboot-utils is
PR4

I think uboot-utils belongs in the u-boot directory.

Yes. The correct .bb is in the uboot-directory, but the patches in packages/uboot-utils/u-boot-1.2.0/ weren't moved at the same time. I'll move that first ;-)

Quoted 2 lines

Can we modify u-boot.inc to create the u-boot-utils package internally?

IIRC, "make all" also builds the utils. This would be the best way to build the utils, instead of a separate u-boot-utils.bb.

My strategy would be something like this:

Remove 1.1.2 and 1.1.4 (unless someone uses them, of course)

Move as much common stuff into u-boot.inc as possible.

Add u-boot-utils as a sub-package of u-boot.

What do you think about that?

Øyvind

#5 lore raw

Quoting Øyvind Repvik <[email protected]>:

Quoted 1 line

Add u-boot-utils as a sub-package of u-boot.

That will break for the openmoko uboot, since that doesn't build as arm/EABI, but I do need mkimage to build the kernel.

regards,

Koen

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

#6 lore raw

uboot-utils still exists as a separate package. I would like to see us move toward the mininmum number of packages needed to support everyone. Sometimes, it is a little to easy to add another bb file than to work out a unified solution. (I am certainly guilty of this)

Go easy on us, we aren't the A-team, but we are trying to make things better for all :)

Philip

Quoted 19 lines · Koen Kooi

Quoting Øyvind Repvik <[email protected]>:

Quoted 1 line

Add u-boot-utils as a sub-package of u-boot.

That will break for the openmoko uboot, since that doesn't build as arm/EABI, but I do need mkimage to build the kernel.

regards,

Koen

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#7 lore raw
In reply to Øyvind Repvik

Hi Øyvind!

Quoted 5 lines · Øyvind Repvik
Quoted 4 lines · Philip Balister
Quoted 3 lines · Øyvind Repvik

I think I moved uboot-utils away from the uboot-utils directory and into u-boot. Either way, it's not quite done yet. I'll take a look at them and remove whichever one is "wrong".

...

Quoted 3 lines

My strategy would be something like this:

Remove 1.1.2 and 1.1.4 (unless someone uses them, of course)

...

We are using u-boot 1.1.4 on our devices. So if it's not too much hassle I vote for keeping that version. Not that it's difficult to build it seperately but building an image with a different version than is used to boot it could lead to problems, couldn't it?

Bye,
Vitus

#8 lore raw

Hi,

Quoted 1 line · Vitus Jensen

We are using u-boot 1.1.4 on our devices. So if it's not too much hassle I

I would vote for keeping 1.1.4 as well, it seems to be still quite popular.

Greetings

Florian

Signature · 6 lines
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-14
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        [email protected]

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76
#9 lore raw

dht-walnut is also using 1.1.4 so here is another vote to stay

Stelios S. Koroneos

Digital OPSiS - Embedded Inteligence
http://www.digital-opsis.com

Quoted 36 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Florian Boor
Sent: Friday, April 13, 2007 2:50 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [oe] RFC: U-Boot package clean up

Hi,

Quoted 1 line · Vitus Jensen

We are using u-boot 1.1.4 on our devices. So if it's not too

much hassle I

I would vote for keeping 1.1.4 as well, it seems to be still quite popular.

Greetings

Florian

Signature · 11 lines
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-14
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        [email protected]

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#10 lore raw

An update on that.

I have added a new powerpc machine (actually its for 2 boards) that is using uboot 1.1.2 as the bootloader
I have contacted the board makers if they plan to switch to a newer version of uboot but the reply was that there was no time to do it at this stage. So i would suggest to keep 1.1.2 also.
I hope to find some free time and patch a more recent uboot for the specific the boards but currently i have no firm timetable on that

Stelios S. Koroneos

Digital OPSiS - Embedded Inteligence
http://www.digital-opsis.com

Quoted 60 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Stelios Koroneos
Sent: Monday, April 16, 2007 9:09 AM
To: [email protected]
Subject: Re: [oe] RFC: U-Boot package clean up

dht-walnut is also using 1.1.4 so here is another vote to stay

Stelios S. Koroneos

Digital OPSiS - Embedded Inteligence
http://www.digital-opsis.com

Quoted 29 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Florian Boor
Sent: Friday, April 13, 2007 2:50 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [oe] RFC: U-Boot package clean up

Hi,

Quoted 1 line · Vitus Jensen

We are using u-boot 1.1.4 on our devices. So if it's not too

much hassle I

I would vote for keeping 1.1.4 as well, it seems to be still quite popular.

Greetings

Florian

--

The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-14
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        [email protected]
Quoted 7 lines

1D78 2D4D 6C53 1CA4 5588 D07B A8E7 940C 25B7 9A76

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel