From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] New version of AT91-BootstrapforAT91SAM92xU-Boot/Buildroot/Linux users
Date: Mon, 26 Mar 2007 15:07:12 +0200 [thread overview]
Message-ID: <012301c76fa8$4f613cf0$01c4af0a@Glamdring> (raw)
In-Reply-To: 20070326114224.AF67D353C9A@atlas.denx.de
> As meantioned a couple times before, U-Boot is self-contained, i. e.
> it does not use any libraries from your development system, except
> for those needed and provided by the C compiler. And if the compiler
> is sane, there should never be a coflict.
>
>> The Linux kernel is built using NWFPE, uclibc and dynamic C library.
>
> I doubt that the Linux *kernel* really uses any of these.
All right, sloppy..., the Linux File System, uses this.
>
>> Not including the C library routines memset, memcpy and div
>> *forces* you to use the C library, and you cant have a dynamic loaded
>> library in 4 kB, so it has to be static and thus it fails .
>
> You continue to repeat that argument, and I continue to not being
> able to understand it. U-Boot *does* provide all these functions, so
> why don't you just use these? We don't need no external C libraries.
>
I advertised the new AT91-Bootstrap on the list because
AT91 u-boot users are probably interested.
That does not mean that AT91-Bootstrap has any code sharing with U-boot.
It is a self contained package.
I used the C - library memory routines from the C compiler
which should be equivalent to the U-boot stuff and wrote my
own unsigned division routines similar to div_t div(...) - just for fun;
If and when at91-bootstrap is provided as a patch to the main
u-boot tree, *then* it makes sense to think about merging code , not before.
It is a very simple function, and now when it exists,
putting a lot of work to merge with U-boot is maybe not cost-effective.
Meanwhile, I have plenty of stuff to do, including trying
to get AT91SAM926x patches into the main tree
so don't expect any at91-bootstrap patch soon.
>> The NWFPE issue is with U-Boot.
>> U-Boot cannot compile, since it has -msoftfloat hard-wired
>> and this is really not neccessary. By removing the -msoftfloat
>> you can compile using a NWFPE enabled compiler.
>
> Why doesn't your NWFPE enabled compiler support this option?
Have no clue, and not a lot of time to spend out figuring out why.
Removing -msoftfloat from U-boot seems to fix my problem
so that is what I am doing.
I do not see why U-Boot should require a softfloat compiler
when no floating point is used though!
Would a patch which simply removed the -msoftfloat be acceptable?
Best Regards
Ulf Samuelsson ulf at atmel.com
Atmel Nordic AB
Mail: Box 2033, 174 02 Sundbyberg, Sweden
Visit: Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29
GSM +46 (706) 22 44 57
Technical support when I am not available:
AT89 C51 Applications Group: mailto:micro.hotline at nto.atmel.com
AT90 AVR Applications Group: mailto:avr at atmel.com
AT91 ARM Applications Group: mailto:at91support at atmel.com
FPSLIC Application Group: mailto:fpslic at atmel.com Best AVR
link: www.avrfreaks.net
next prev parent reply other threads:[~2007-03-26 13:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-25 15:43 [U-Boot-Users] New version of AT91-Bootstrap for AT91SAM92x U-Boot/Buildroot/Linux users Ulf Samuelsson
2007-03-25 15:50 ` Ulf Samuelsson
2007-03-25 20:42 ` Wolfgang Denk
2007-03-25 21:00 ` [U-Boot-Users] New version of AT91-Bootstrap for AT91SAM92xU-Boot/Buildroot/Linux users Ulf Samuelsson
2007-03-25 22:01 ` Wolfgang Denk
2007-03-25 22:10 ` Ulf Samuelsson
2007-03-26 0:01 ` Wolfgang Denk
2007-03-25 22:24 ` Andreas Schweigstill
2007-03-25 22:21 ` Ulf Samuelsson
2007-03-26 0:05 ` Wolfgang Denk
2007-03-26 7:17 ` [U-Boot-Users] New version of AT91-Bootstrap forAT91SAM92xU-Boot/Buildroot/Linux users Ulf Samuelsson
2007-03-26 11:42 ` Wolfgang Denk
2007-03-26 13:07 ` Ulf Samuelsson [this message]
2007-03-26 14:35 ` [U-Boot-Users] New version of AT91-BootstrapforAT91SAM92xU-Boot/Buildroot/Linux users Wolfgang Denk
2007-03-26 16:29 ` Ulf Samuelsson
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='012301c76fa8$4f613cf0$01c4af0a@Glamdring' \
--to=ulf@atmel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox