I finally got the qemu toolchain up and running on my machine (yay!)
but I can't see a compiler in there --
I've done an opkg update (completed OK) but the only C++ ish things
are apps and the library uclibcxx - 0.2.2-3 - C++ library for embedded
systems
Annoyingly the file I need to build is relatively straightforward -
http://www.blitzortung.org/Documents/tracker_Linux.c
Can someone point me in the right direction?
Thanks
Andrew
Qemu doesn't include a toolchain - it's just an emulator.
The "toolchain" part is in the 'openwrt' part of the git repository.
> Annoyingly the file I need to build is relatively straightforward -
> http://www.blitzortung.org/Documents/tracker_Linux.c
>
> Can someone point me in the right direction?
If it's only a single file you need to compile, you can simply compile
it as a static 32-bit executable on your regular Linux PC (assuming
you're running a 32-bit kernel & compiler - try a LiveCD if not) and
copy it across to the bifferboard - one of the advantages of
bifferboard using an x86-compatible CPU :)
Lurch
indeed, but if you select that at the 'make menuconfig' stage it falls
over with no rules to make target install. (and there's no* difference
to the current upstream head either)
> If it's only a single file you need to compile, you can simply compile
> it as a static 32-bit executable on your regular Linux PC (assuming
> you're running a 32-bit kernel & compiler - try a LiveCD if not) and
> copy it across to the bifferboard - one of the advantages of
> bifferboard using an x86-compatible CPU :)
threw together a VM and did this. still failed. Eventually hacked up
eniough of a makefile to get it running with the toolchain build (nice
n small)
... only to discover that the USB->Serial adaptor I had was missing
the kmod on the biffer factory firmware. Have built the new ones, now
need to re-flash with newer one
>
> Lurch
>
> --
> To unsubscribe send email to bifferboard...@googlegroups.com
* well, there's a minor diff in the Makefile, but nothing that adds
that functionality.
I'm not sure that I follow what you're saying - are you following the
instructions from
https://sites.google.com/site/bifferboard/Home/openwrt-git ?
Ignore the stuff about SeaBIOS, the Qemu setup now uses BiffBoot
rather than SeaBIOS.
>> If it's only a single file you need to compile, you can simply compile
>> it as a static 32-bit executable on your regular Linux PC (assuming
>> you're running a 32-bit kernel & compiler - try a LiveCD if not) and
>> copy it across to the bifferboard - one of the advantages of
>> bifferboard using an x86-compatible CPU :)
>
> threw together a VM and did this. still failed.
Oh, any idea *why* it failed? Was it definitely a 32-bit static x86
(i486) executable you were building? Did it run in the VM?
> ... only to discover that the USB->Serial adaptor I had was missing
> the kmod on the biffer factory firmware. Have built the new ones, now
> need to re-flash with newer one
Yeah, the factory firmware is quite out of date (but "stable"), all
Biff's latest goodness is on github: https://github.com/bifferos/bb
Make sure you ignore the old repository
https://github.com/bifferos/openwrt though.
Andrew
Isn't it needed for GPL-ness?
https://sites.google.com/site/bifferboard/Home/factory-firmware
Lurch