Mail archive
alpine-user

Re: [alpine-user] Can't boot linux-vanilla on armhf

From: paul gauret <pgauret_at_yahoo.com>
Date: Thu, 3 Jan 2019 16:58:22 +0000 (UTC)

I'll go ahead and create a bug them. 

My build procedure is pretty straighforward.

----
cd linux
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- multi_v7_defconfig
make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x40008000 zImage dtbs
make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules
make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules_install
------
I've uploaded the resulting config file at https://gist.github.com/pgauret/d14ae75522c620eafb2de7ff66c31af2
On Thursday, January 3, 2019, 2:14:30 PM GMT+1, Natanael Copa <ncopa_at_alpinelinux.org> wrote: 
Hi!
On Thu, 3 Jan 2019 12:07:30 +0000 (UTC)
paul gauret <pgauret_at_yahoo.com> wrote:
> I can't boot the Alpine linux kernel on my armhf boards (tested on Cubieboard and OrangePI Plus with similar results).
> Sample u-boot session below, messages stop after "Starting kernel" and board requires a hard reset:
> -----
> => setenv bootargs earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait=> env set fdt_high ffffffff=> fatload mmc 0 0x46000000 vmlinuz-vanilla3834368 bytes read in 310 ms (11.8 MiB/s)=> fatload mmc 0 0x49000000 linux-4.19.13-0-vanilla-sun4i-a10-cubieboard.dtb22448 bytes read in 4 ms (5.4 MiB/s)=> bootz 0x46000000 - 0x49000000## Flattened Device Tree blob at 49000000   Booting using the fdt blob at 0x49000000   Using Device Tree in place at 49000000, end 490087af  
> Starting kernel ...
> -----
> 
> For reference I can boot my custom built mainline kernel using the above commands without any trouble.
> What I've already tried without success:- Use mainline u-boot rather than the Alpine u-boot for cubieboard- boot through extlinux- user older versions of the Alpine vanilla kernel
> Am I doing something wrong here or shall I open a bug? 
> Happy to help with troubleshooting if needed.
> 
I'm pretty sure this is a bug. Please create an issue on bugs.alpinelinux.org.
It would also be good if you could share your kenrel config that you know works.
Thanks!
-nc
---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:        alpine-user+help_at_lists.alpinelinux.org
---
---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Thu Jan 03 2019 - 16:58:22 UTC