Port-arm archive

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

Re: Banana pi pro no video




> On Jun 20, 2019, at 4:03 PM, Ron Georgia <netverbs%gmail.com@localhost> wrote:
> 
> Thank you very much. Compiling it now.
> Sorry about that. I thought I was staying up to date with " cd /usr/pkgsrc &&  cvs update -dP"

Note that if you are running a reasonably current -current, you can use installboot(8) (or the cross-tools nbinstallboot) to install the u-boot image onto the SD card / image.  It's a whole lot nicer / less-scary than using dd.

> 
> On 6/20/19, 9:50 AM, "Jason Thorpe" <thorpej%me.com@localhost> wrote:
> 
> 
> 
>> On Jun 20, 2019, at 3:03 PM, Ron Georgia <netverbs%gmail.com@localhost> wrote:
>> 
>> I do not see that in sysutils.
>> $ /u/p/sysutils> ls | grep banana
>> u-boot-bananapi
>> u-boot-bananapi-m3
>> u-boot-bananapi-r2
>> 
>> rgeorgia@clement /u/pkgsrc> sudo find . -type f | grep bananapro
>> not found
> 
>    Your pkgsrc may be out of date; I added it on May 29:
> 
>    revision 1.1
>    date: 2019-05-29 03:24:02 +0000;  author: thorpej;  state: Exp;  commitid: Bt9LqdFk6D5U53pB;
>    Add a U-Boot package for the LeMaker Banana Pro.
> 
> 
>> 
>> On 6/20/19, 8:47 AM, "Jared McNeill" <jmcneill%invisible.ca@localhost> wrote:
>> 
>>   You cannot use U-boot for a different board and expect anything to work. 
>>   Have you tried sysutils/u-boot-bananapro ?
>> 
>>   On Tue, 18 Jun 2019, Ron Georgia wrote:
>> 
>>> I am trying to install NetBSD on a Banana pi pro. I downloaded armv7 from http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-earmv7hf/binary/gzimg/armv7.img.gz
>>> 
>>> I dd the image to sd0d
>>> $ sudo dd if=armv7_HEAD.img of=/dev/rsd0d bs=1m conv=sync
>>> 
>>> I then tried both bananapi u-boot image from =/usr/pkg/share/u-boot based on the wiki found here: https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/
>>> 
>>> $ sudo dd if=/usr/pkg/share/u-boot/bananapi/u-boot-sunxi-with-spl.bin of=/dev/rsd0d bs=1k seek=8 conv=sync
>>> $ sudo dd if=/usr/pkg/share/u-boot/bananapi-m3/u-boot-sunxi-with-spl.bin of=/dev/rsd0d bs=1k seek=8 conv=sync
>>> 
>>> Note: the documentation says of=/dev/rld0d bs=1k seek=8 conv=sync. Notice the rld0d not rsd0d. Is that right?
>>> 
>>> Any help is appreciated.
>>> 
>>> The boot.cmd does not match what the docs says it should be.
>>> I looked at boot.cmd:
>>> 
>>> if test "${board}" = "am335x" ; then
>>> 	setenv kernel netbsd-BEAGLEBONE.ub
>>> 	setenv mmcpart 0:1
>>> 	setenv bootargs root=ld0a
>>> else
>>> 	setenv use_efi 1
>>> fi
>>> 
>>> if test "${soc}" = "tegra210" ; then
>>> 	# enable PCIe
>>> 	pci enum
>>> fi
>>> 
>>> if test "${use_efi}" = "1" ; then
>>> 	setenv boot_scripts
>>> 	setenv boot_script_dhcp
>>> 	run distro_bootcmd
>>> else
>>> 	fatload mmc ${mmcpart} ${kernel_addr_r} ${kernel}
>>> 	bootm ${kernel_addr_r} ${bootargs}
>>> fi
>>> 
>>> ================================ boot.ini ================================
>>> ODROIDC-UBOOT-CONFIG
>>> 
>>> setenv bootargs "awge0.mac-address=${ethaddr}"
>>> setenv bootcmd "fatload mmc 0:1 0x21000000 netbsd-GENERIC.ub; fatload mmc 0:1 0x20000000 meson8b-odroidc1.dtb; bootm 0x21000000 - 0x20000000"
>>> run bootcmd
>>> 
>>> ================================ cmdline.txt ================================
>>> root=ld0a console=fb
>>> #fb=1280x1024		# to select a mode, otherwise try EDID
>>> #fb=disable		# to disable fb completely
>>> 
>>> ================================ Config.txt ================================
>>> # Boot options, see https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md
>>> kernel_address=0x01000040
>>> # UART settings, see https://www.raspberrypi.org/documentation/configuration/uart.md
>>> enable_uart=1
>>> force_turbo=0
>>> 
>>> 
>>> Ron Georgia
>>> “90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
>    -- thorpej
> 
> 
> 
> 

-- thorpej



Home | Main Index | Thread Index | Old Index