NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-evbarm/50891: Boot fails after "transferring control to NetBSD stage-2 loader (at address 40007800)" on BPi M1
The following reply was made to PR port-evbarm/50891; it has been noted by GNATS.
From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: dalibor.gudzic%gmail.com@localhost
Subject: Re: port-evbarm/50891: Boot fails after
"transferring control to NetBSD stage-2 loader (at address 40007800)" on
BPi M1
Date: Fri, 4 Mar 2016 13:45:07 +0100
Not sure what is wrong with the dd images or wiki instructions, but I
reinstalled my BPi M1 manually the other day without issues.
I do see the screen corruption from your screenshot, but only for a second or two.
I think it might be caused by kernel debug messages before initializing framebuffer console.
(Is the HDMI device using an uncommon display resolution?)
Anyway, here are the steps I used to prepare the boot partition from scratch.
Maybe you can use it to find out what is wrong?
# mount -t msdos /dev/ld0e /mnt
# cd /mnt
# rm -r *
# wget http://dl.linux-sunxi.org/nightly/u-boot-sunxi/u-boot-sunxi-mainline/u-boot-sunxi-mainline-latest/u-boot-sunxi-mainline-bananapi.tar.xz
# tar -xJf u-boot-sunxi-mainline-bananapi.tar.xz
# dd if=u-boot*/u-boot-sunxi-with-spl.bin of=/dev/ld0d bs=1k seek=8
# wget https://raw.githubusercontent.com/linux-sunxi/sunxi-boards/master/sys_config/a20/Bananapi.fex
# fex2bin Bananapi.fex Bananapi.bin
# cat << EOF > boot.cmd
setenv kernel_addr 82000000
setenv fex_addr 43000000
setenv fex Bananapi.bin
setenv kernel netbsd.ub
setenv bootargs "root=ld0a sysconfig=0x43000000 console=fb fb.margin=60"
fatload mmc 0:1 ${fex_addr} ${fex}
fatload mmc 0:1 ${kernel_addr} ${kernel}
bootm ${kernel_addr}
EOF
# mkubootimage -A arm -n armv7 -T script boot.cmd boot.scr
# wget http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201603040730Z/evbarm-earmv7hf/binary/kernel/netbsd-BPI.ub.gz
# gzcat netbsd-BPI.ub.gz > netbsd.ub
Home |
Main Index |
Thread Index |
Old Index