ec0f
![]() |
|
|
|
|
|||||||
| Embedded Having questions related to ARM/MIPS devices which are not desktops and which usually serve a single purpose such as routers, switches, PDAs, etc? |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi!
I'm trying to run FreeBSD 9.0 on RouterBoard Arch powerpc, but it isn't working. I've installed FreeBSD 9.0, updated the src, compiled the kernel, and built the world. So I tried to cross-compile the kernel from amd64 to powerpc with the command: make world KERNCONF=KERNEL ARCH_TARGET=powerpc DESTDR=/usr/powerpcI somebody sing Thank you! Last edited by DutchDaemon; March 30th, 2012 at 20:33. Reason: READ THE RULES -> http://forums.freebsd.org/showthread.php?t=11799 |
|
#2
|
||||
|
||||
|
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
|||
|
|||
|
OK. And routerboard arch MIPS with
Last edited by DutchDaemon; March 30th, 2012 at 20:33. Reason: READ THE RULES -> http://forums.freebsd.org/showthread.php?t=11799 |
|
#4
|
||||
|
||||
|
MIPS is a Tier 3 platform (PPC is Tier 2). Which means there's even less support.
http://www.freebsd.org/platforms/mips.html
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#5
|
|||
|
|||
|
But, how can I do a cross compile and put the files on the MIPS?
By flash card or micro SD? Last edited by DutchDaemon; March 30th, 2012 at 20:33. Reason: READ THE RULES -> http://forums.freebsd.org/showthread.php?t=11799 |
|
#6
|
||||
|
||||
|
You will need to work closely with the the maintainers of the port of the board that you have. This means joining the mailing list for architecture blahblah.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#7
|
|||
|
|||
|
Generally speaking, you can't copy the cross compiled files to a USB stick and use it on MIPS, at least not for the RouterBoard (MIPS) case which are all big endian (while your i386/amd64 is little endian).
So the boot strap process usually goes thru netbooting the board and then populate your SD/USB stick from it. You can also use the makefs(8) to create a big endian file system from a little endian host, but it has some limitations as its primary use is to build RO (or very simple) images - eg. you have to manually specify the number of free inodes on file system and so on. All the MIPS RB are quite well supported, the only show stopper right now is the missing NAND drivers (as the FreeBSD NAND Framework is alredy in tree). This is kind of my fault, since i've these drivers for some time time but never found the time to finish, clean and push it to -head. I hope i can get over it soon =) The MIPS port have evolved a lot recently and i don't think it is really a tier 3 arch anymore... The port is stable (yes, i'm a daily user of it) and reliable. At this moment, AFAIK, there is only a limited support for PPC RBs, you can netboot some of then, but no NAND, no CF and (not sure about this, but looks like) no pci/pcie. Code:
rspro-01# uptime
9:10AM up 25 days, 5:05, 1 user, load averages: 0.08, 0.02, 0.01
rspro-01# uname -a
FreeBSD rspro-01 9.0-CURRENT FreeBSD 9.0-CURRENT #135 r223874+2c57285-dirty: Thu Jul 14 16:46:47 BRT 2011
root@devel.network.int.br:/data/git/mips-gpio/obj/mips.mipseb/data/git/mips-gpio/freebsd/sys/RSPRO mips
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Embedded FreeBSD preventative maintenance | codesweat | Embedded | 2 | October 6th, 2011 18:01 |
| hardening embedded device | eyebone | Installing & Upgrading | 1 | June 28th, 2010 15:16 |
| Embedded x86/x86_64 hardware to buy? | eyebone | System Hardware | 2 | May 28th, 2010 14:43 |
| Looking for embedded SATA2 and 4xGbit LAN | Erratus | Embedded | 3 | December 29th, 2009 00:44 |
| FreeBSD 7.2 LiveCD, FreeBSD 7.2 embedded & GRUB2 for FreeBSD [logical partitions also | Panarchy | General | 24 | August 9th, 2009 19:06 |