From: petrcvekcz@gmail.com (Petr Cvek)
To: linux-arm-kernel@lists.infradead.org
Subject: ARM: pxa/corgi: armv5te kernel 4.12 fails to decompress compiled with gcc7
Date: Tue, 17 Oct 2017 10:10:31 +0200 [thread overview]
Message-ID: <26e751ec-7fc7-475a-5603-2fac4e0700cb@gmail.com> (raw)
In-Reply-To: <CAAQYJAsmOr2qnykO=rWH1N43q3+d27aHMAyXHTXMYpPQ1=9ikA@mail.gmail.com>
Dne 17.10.2017 v 10:02 Andrea Adami napsal(a):
> <cut>
>
> Hi,
Hi
>
> I am trying to debug further but I don't have any output on serial console...
> I enabled:
>
> CONFIG_DEBUG_LL=y
> CONFIG_DEBUG_PXA_UART1=y
> # CONFIG_DEBUG_ICEDCC is not set
> # CONFIG_DEBUG_SEMIHOSTING is not set
> # CONFIG_DEBUG_LL_UART_8250 is not set
> # CONFIG_DEBUG_LL_UART_PL01X is not set
> CONFIG_DEBUG_LL_INCLUDE="debug/8250.S"
> CONFIG_DEBUG_UART_8250=y
> CONFIG_DEBUG_UART_PHYS=0x40100000
> CONFIG_DEBUG_UART_VIRT=0xf6200000
> CONFIG_DEBUG_UART_8250_SHIFT=2
> # CONFIG_DEBUG_UART_8250_WORD is not set
> # CONFIG_DEBUG_UART_8250_PALMCHIP is not set
> # CONFIG_DEBUG_UART_8250_FLOW_CONTROL is not set
> CONFIG_UNCOMPRESS_INCLUDE="mach/uncompress.h"
> CONFIG_EARLY_PRINTK=y
>
> then I added #define DEBUG to both head.S and decompress.c under
> arm/boot/compressed.
> I added earlyprintk to the cmdline args used by the kexec bootloader but nothing
>
> That kernel does boot silently, just 'Uncompresing..' then
> 'XZ-compressed data is corrupt -- System halted'
>
> I do have output from the Angel bootloader at 9600 and by the kernel
> at 115200 so the uart is working...
> Any hint?
If it is a problem with gcc (as Russell said before), there is no way
you can fix it in the kernel. Only compiling it with an older gcc
version can help.
Maybe you can try to compile it for armv4 code.
best regards,
Petr
next prev parent reply other threads:[~2017-10-17 8:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-19 13:13 ARM: pxa/corgi: armv5te kernel 4.12 fails to decompress compiled with gcc7 Andrea Adami
2017-07-20 6:57 ` Robert Jarzmik
2017-09-02 21:50 ` Andrea Adami
2017-10-14 21:50 ` Aaro Koskinen
2017-10-14 21:57 ` Robert Jarzmik
2017-10-15 10:46 ` Aaro Koskinen
2017-10-15 13:01 ` Russell King - ARM Linux
2017-10-15 15:14 ` Aaro Koskinen
2017-10-16 11:55 ` Petr Cvek
2017-10-17 8:02 ` Andrea Adami
2017-10-17 8:10 ` Petr Cvek [this message]
2017-10-17 8:18 ` Andrea Adami
2017-10-18 10:39 ` Petr Cvek
2017-10-18 10:44 ` Russell King - ARM Linux
2017-10-18 11:12 ` Petr Cvek
2017-10-24 8:34 ` Andrea Adami
2017-10-24 8:43 ` Andrea Adami
2017-10-17 20:33 ` Aaro Koskinen
2017-10-18 9:57 ` Petr Cvek
2017-10-14 22:00 ` Petr Cvek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26e751ec-7fc7-475a-5603-2fac4e0700cb@gmail.com \
--to=petrcvekcz@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.