Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: big endian support?



On Fri, Jul 31, 2015 at 08:29:29AM +0200, Martin Husemann wrote:
> On Thu, Jul 30, 2015 at 10:49:28PM +0200, Christof Meerwald wrote:
> > I see that there are big endian ARMv7 kernel builds for some boards on
> > http://nyftp.netbsd.org/pub/NetBSD-daily/ , but not as many as little
> > endian kernel builds
> For the bi-endian cores we typically build only little endian.
> To do a big endian version, just use build.sh and specify for examle
> -m evbearmv7hf-eb.

I tried that, but didn't have much luck on my beaglebone - the kernel
just seems to hang (with no output at all on the console).

I did notice that beagle_start.S didn't contain any "setenv be"
instruction, so I added that similar to how it's done in rpi2_start.S
- but then I only get a "data abort":

## Transferring control to NetBSD stage-2 loader (at address 80300000) ...
data abort
pc : [<80300008>]   lr : [<9ff513a8>]
reloc pc : [<60bb4008>]   lr : [<808053a8>]
sp : 9ef2bcb8  ip : 00000030 fp : 9ff512bc
r10: 00000000  r9 : 9ef2bed8 r8 : 00000000
r7 : 9ffa109e  r6 : 9ef2ed1c r5 : 9ffa4a08  r4 : 80300000
r3 : 9ffa109e  r2 : 9ffa109e r1 : 00000000  r0 : 9ef2bfb0
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32
Resetting CPU ...


Christof

-- 

http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org


Home | Main Index | Thread Index | Old Index