Cross compile RB1100ahx2
Felipe N. Oliva
felipe at felipeoliva.eti.br
Tue Oct 14 11:47:24 UTC 2014
Regards,
I adapted this article: https://wiki.freebsd.org/FreeBSD/BuildingMIPS
Building:
make -j4 TARGET=powerpc TARGET_ARCH=powerpc buildworld
make -j4 TARGET=powerpc TARGET_ARCH=powerpc buildkernel KERNCONF=MPC85XX
make -j4 TARGET=powerpc TARGET_ARCH=powerpc
DESTDIR="/teste/powerpc/root" installkernel KERNCONF=MPC85XX
make -j4 TARGET=powerpc TARGET_ARCH=powerpc
DESTDIR="/teste/powerpc/root" installworld
make -j4 TARGET=powerpc TARGET_ARCH=powerpc
DESTDIR="/teste/powerpc/root" distribution
DHCPD:
subnet 192.168.10.0 netmask 255.255.255.0 {
deny unknown-clients;
option routers 192.168.10.1;
option root-path "192.168.10.196:/teste/powerpc/root/";
# tftp server address and kernel path
next-server 192.168.10.196;
filename "root/boot/kernel";
}
host rb1100ahx2 {
hardware ethernet 4c:5e:0c:3b:a5:c2; # the mac address of
the board
fixed-address 192.168.10.200; # pick an unused address
}
/etc/exports:
/teste/powerpc/root/ -maproot=root -network 192.168.10/24
TFTPD:
tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s
/teste/powerpc
/etc/rc.conf:
dhcpd_enable="YES"
inetd_enable="YES"
rpcbind_enable="YES"
rpc_statd_enable="YES"
rpc_lockd_enable="YES"
nfs_server_enable="YES"
mountd_enable="YES"
Maybe the question is the serial console. Any idea?
Thanks,
Felipe N. Oliva
On 13/10/2014 11:57, Felipe N. Oliva wrote:
> Compiling kernel file /usr/src/sys/powerpc/conf/MPC85XX and booting
> from network, return this:
>
> *RouterBOOT booter 3.10**
> **
> **RouterBoard 1100AHx2**
> **
> **CPU frequency: 1066 MHz**
> ** Memory size: 2048 MiB**
> ** NAND size: 128 MiB**
> **
> **Press any key within 2 seconds to enter setup..**
> **trying bootp protocol.... OK**
> **Got IP address: 192.168.10.200**
> **resolved mac address 08:00:27:BF:9B:62**
> **Gateway: 192.168.10.1**
> **transfer started ..................................................
> transfer ok, time=3.70s**
> **setting up elf image... OK**
> **jumping to kernel code*
>
> And break.
>
> On 11/10/2014 18:10, Adrian Chadd wrote:
>> Damn, I keep meaning to acquire one of these to run up as a test 11n AP.
>>
>> Nathan? ANy ideas?
>>
>>
>> -a
>>
>>
>> On 10 October 2014 10:24, Felipe N. Oliva <felipe at felipeoliva.eti.br>
>> wrote:
>>> Regards,
>>>
>>> I want to do cross compiling from amd64 to powerpc(RouterBOARD 1100ahx2
>>> processor P2020).
>>>
>>> Has anyone done this? Works well? Any tips?
>>>
>>> Thank you,
>>> --
>>> Felipe N. Oliva
>>>
>>> _______________________________________________
>>> freebsd-ppc at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-ppc at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe at freebsd.org"
More information about the freebsd-ppc
mailing list