Skip to contentSkip to conversation

Building fw_printenv (u-boot utility) for target?

Buildroot Grant Edwards 2 participants 3 messages Sep 22, 2010

lore
Share & tools
lore
#0 lore raw

I want fw_printenv on my target, and it would be convenient if buildroot built it and set up the relvent links. But, AFAICT, I can't have buildroot build the fw_printenv utility without having it do a complete build of U-Boot. I don't have any need/desire for buildroot to build the bootloader itself, I only need the fw_printenv linux app for the target. Is that possible with buildroot?

Or should I just build fw_printenv separately and stick it into the filesystem using the custom package?

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! Don't SANFORIZE me!!
                                  at               
                              gmail.com            
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Grant" == Grant Edwards <[email protected]> writes:

Hi,

Grant> I want fw_printenv on my target, and it would be convenient if Grant> buildroot built it and set up the relvent links. But, AFAICT, I can't Grant> have buildroot build the fw_printenv utility without having it do a Grant> complete build of U-Boot. I don't have any need/desire for buildroot Grant> to build the bootloader itself, I only need the fw_printenv linux app Grant> for the target. Is that possible with buildroot?

Currently not, is it a big deal to build u-boot as well?
The reason for this is mainly that fw_printenv isn't available seperately, so we would need to double quite a lot of the u-boot handling if we were to move it to a seperate package, and they are most of the time used together.

Grant> Or should I just build fw_printenv separately and stick it into the Grant> filesystem using the custom package?

That's naturally an option as well.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 10 lines · Peter Korsgaard
Quoted 6 lines · Grant Edwards

I want fw_printenv on my target, and it would be convenient if buildroot built it and set up the relvent links. But, AFAICT, I can't have buildroot build the fw_printenv utility without having it do a complete build of U-Boot. I don't have any need/desire for buildroot to build the bootloader itself, I only need the fw_printenv linux app for the target. Is that possible with buildroot?

Currently not, is it a big deal to build u-boot as well?

Mainly it's a hassle because it adds quite a bit to the build time.

Currently, I change my rootfs far more often than I change the U-Boot sources or configuration. Doing a U-Boot rebuild every time I change my root filesystem wastes a lot of time.

Quoted 4 lines

The reason for this is mainly that fw_printenv isn't available seperately, so we would need to double quite a lot of the u-boot handling if we were to move it to a seperate package, and they are most of the time used together.

That makes sense.

Quoted 4 lines
Quoted 2 lines

Or should I just build fw_printenv separately and stick it into the filesystem using the custom package?

That's naturally an option as well.

I guess I'll stick with that.

Thanks.

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! Do you guys know we
                                  at               just passed thru a BLACK
                              gmail.com            HOLE in space?