Port-arm archive

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

Re: big-endian kernel fails to boot on Cubietruck



Finally, I've found the real cause of the problem; my sd card is broken!
With a new sd card, both little- and big-endian kernels with -mtune flag
work properly. I'm so sorry for confusing you.

Through this struggle, I've found some problems in building of
evbearmv7hf, namely,

- build fails with STRIPFLAG=-s
- byte-order of sshramdisk.fs and armv7.img can be wrong
- $kernel environment variable in uEnv.txt is expanded by /bin/sh

I prepared patches to address these problems. Could I post them to this
mailing list? Or would it be better to send PRs?

Rin

On 2015/07/11 8:13, Rin Okuyama wrote:
Hmm... Something wrong with my toolchain in my NB/amd64 box?
I'll examine on Monday.

On 2015/07/11 2:13, Martin Husemann wrote:
On Fri, Jul 10, 2015 at 11:35:43PM +0900, Rin Okuyama wrote:
Sorry, I don't remember clearly. I'm on trip this weekend,
and cannot verify it for a while.

I tested a big endian kernel build with the patch below, and it works
just fine for me.

Martin

Index: CUBIETRUCK
===================================================================
RCS file: /cvsroot/src/sys/arch/evbarm/conf/CUBIETRUCK,v
retrieving revision 1.8
diff -u -r1.8 CUBIETRUCK
--- CUBIETRUCK    1 Jun 2015 23:17:47 -0000    1.8
+++ CUBIETRUCK    10 Jul 2015 17:11:38 -0000
@@ -20,7 +20,7 @@
  #
  no options     ALLWINNER_A10
  no makeoptions    CPUFLAGS
-makeoptions    CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon"
+makeoptions    CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon -mtune=cortex-a7"

  #
  # We need this too.



Home | Main Index | Thread Index | Old Index