Port-arm archive

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

Re: Banana pi pro no video



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

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.”
    >
    >
    >
    >
    >
    >




Home | Main Index | Thread Index | Old Index