On 23.02.2010, at 23:05, Blue Swirl wrote:
On 2/24/10, Alexander Graf agraf@suse.de wrote:
On 23.02.2010, at 22:42, Blue Swirl wrote:
On 2/22/10, Alexander Graf agraf@suse.de wrote:
Blue Swirl wrote:
On 2/22/10, Alexander Graf agraf@suse.de wrote:
On PPC the host binary build always fails for me. Since I guess I'm
What's the problem?
Building OpenBIOS for ppc Building...error: /usr/bin/ld: Warning: openbios-unix uses hard float, libfs.a(btree.o) uses soft float /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(ctype.o) uses soft float /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(diskio.o) uses soft float /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(extra.o) uses soft float /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(misc.o) uses soft float /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(string.o) uses soft float /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(vsprintf.o) uses soft float libmodules.a(elf-loader.o): In function `elf_loader_init_program': /home/agraf/git/openbios-devel/obj-ppc/../modules/elf-loader.c:77: undefined reference to `flush_icache_range' libmodules.a(xcoff-loader.o): In function `xcoff_loader_init_program': /home/agraf/git/openbios-devel/obj-ppc/../modules/xcoff-loader.c:110: undefined reference to `flush_icache_range' collect2: ld returned 1 exit status make[1]: *** [openbios-unix] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/agraf/git/openbios-devel/obj-ppc' make: *** [build] Error 1
I think the first patch should help with this, could you test it?
Yes, it really is that simple ;-). So we really don't have to flush the icache when we flush the icache?
I'd suppose the Unix version does not need icache flushes. Can you execute something with openbios-unix?
Does that mean it works?
agraf@lychee:~/git/openbios-devel> ./obj-ppc/openbios-unix obj-ppc/openbios-unix.dict Welcome to OpenBIOS v1.0 built on Feb 23 2010 21:59 Type 'help' for detailed information
[unix] Booting default not supported.
0 > cd / ok 0 > ls f7e9bef0 aliases f7e9bf94 openprom f7e9c13c options f7e9c1b4 chosen f7e9c298 builtin f7ea2094 packages f7ea37b0 memory f7ea3854 cpus f7ea3bb4 unix ok 0 > .properties name "OpenBiosTeam,OpenBIOS" #address-cells 1 ok 0 >