Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 08:47:18 -0300
From:      "Felipe N. Oliva" <felipe@felipeoliva.eti.br>
To:        freebsd-ppc@freebsd.org
Subject:   Re: Cross compile RB1100ahx2
Message-ID:  <543D0D46.2020402@felipeoliva.eti.br>
In-Reply-To: <543BE83E.9080106@felipeoliva.eti.br>
References:  <54381648.5030900@felipeoliva.eti.br> <CAJ-VmokypQaZK=kjfTWG6OjkRtYVcYOfMXmXtU8UY5AWz=wi1g@mail.gmail.com> <543BE83E.9080106@felipeoliva.eti.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
>
> _______________________________________________
> freebsd-ppc@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?543D0D46.2020402>