Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Banana pi pro no video
Whoo hoo! I updated my pkgsrc, make install u-boot for bananapro and BAM! Video works! And I see my external drive:
shareverbs$ dmesg | grep wd
[ 1.000006] sunxiwdt0 at simplebus1: Watchdog
[ 1.000006] sunxiwdt0: default watchdog period is 16 seconds
[ 3.087096] wd0 at atabus0 drive 0
[ 3.097681] wd0: <Hitachi HUA723030ALA640>
[ 3.097681] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[ 3.097681] wd0: 2794 GB, 5814021 cyl, 16 head, 63 sec, 512 bytes/sect x 5860533168 sectors
[ 3.157683] wd0: GPT GUID: f4c18c62-462d-416b-874b-1e76c3cd201c
[ 3.167685] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
[ 3.167685] wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
shareverbs# gpt show wd0
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 5860533101 Unused
5860533135 32 Sec GPT table
5860533167 1 Sec GPT header
Thank you, thank you, thank you.
On 6/20/19, 10:06 AM, "Jason Thorpe" <thorpej%me.com@localhost> wrote:
> 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