~alpine/users

2 2

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

paul gauret <pgauret@yahoo.com>
Details
Message ID
<581900963.13520645.1546517250292@mail.yahoo.com>
Sender timestamp
1546517250
DKIM signature
missing
Download raw message
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.
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20190103141407.1299dd2e@ncopa-desktop.copa.dup.pw>
In-Reply-To
<581900963.13520645.1546517250292@mail.yahoo.com> (view parent)
Sender timestamp
1546521247
DKIM signature
missing
Download raw message
Hi!

On Thu, 3 Jan 2019 12:07:30 +0000 (UTC)
paul gauret <pgauret@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@lists.alpinelinux.org
Help:         alpine-user+help@lists.alpinelinux.org
---
paul gauret <pgauret@yahoo.com>
Details
Message ID
<240764302.13715854.1546534702545@mail.yahoo.com>
In-Reply-To
<20190103141407.1299dd2e@ncopa-desktop.copa.dup.pw> (view parent)
Sender timestamp
1546534702
DKIM signature
missing
Download raw message


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@alpinelinux.org> wrote: 





Hi!

On Thu, 3 Jan 2019 12:07:30 +0000 (UTC)
paul gauret <pgauret@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@lists.alpinelinux.org
Help:        alpine-user+help@lists.alpinelinux.org

---
Reply to thread Export thread (mbox)