Openbsd 6 snapshot Banana pi r1 boot

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Openbsd 6 snapshot Banana pi r1 boot

Luiz Gustavo dos S. Costa
Hi List,

I'm trying to start and install openbsd on a banana pi r1 and i'm
having problems.

I initially tried with the native image, available at ftp:

http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs

However, neither the original boot arm it worked.

So, I found this link that helped me build the dtb file and u-boot.

http://dbolgheroni.github.io/generatig-an-openbsd-miniroot-for-cubieboard2.html

I then installed via ports (sysutils/[u-boot|dtb]) files and tried to
create an image for the banana_r1 (lamobo_r1)

[~/build]$ ftp http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs
Trying 129.128.5.191...
Requesting http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs
100% |************************************************************************************************|
18432 KB    00:34
18874368 bytes received in 34.41 seconds (535.73 KB/s)
[~/build]$ vnconfig vnd0 miniroot-cubie-60.fs
[~/build]$ mount /dev/vnd0i /mnt/vnd0i
[~/build]$ cd /mnt/vnd0i
[/mnt/vnd0i]$ ls
efi                            sun7i-a20-cubieboard2.dtb
[/mnt/vnd0i]$ cp /usr/local/share/dtb/arm/sun7i-a20-lamobo-r1.dtb .
[/mnt/vnd0i]$ cd
[~]$ dd if=/usr/local/share/u-boot/Lamobo_R1/u-boot-sunxi-with-spl.bin
of=/dev/rvnd0c bs=1024 seek=8
474+1 records in
474+1 records out
485687 bytes transferred in 0.436 secs (1113555 bytes/sec)
[~]$ umount /dev/vnd0i
[~]$ cd build
[~/build]$ vnconfig -u vnd0

I grab the image on the sdcard and nothing ....

follows a picture of the card/serial: http://imgur.com/a/Hzn06

thanks !
--
Luiz Gustavo Costa
-----------------------------------------------------------------
Mundounix - Consultoria em Software Livre
http://www.mundounix.com.br
Skype: mundounix

Reply | Threaded
Open this post in threaded view
|

Re: Openbsd 6 snapshot Banana pi r1 boot

Juan Francisco Cantero Hurtado
https://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/INSTALL.armv7

Follow the instructions in the section "Install on systems without a
supported miniroot".

On Mon, Nov 07, 2016 at 06:32:38PM -0200, Luiz Gustavo dos S. Costa wrote:

> Hi List,
>
> I'm trying to start and install openbsd on a banana pi r1 and i'm
> having problems.
>
> I initially tried with the native image, available at ftp:
>
> http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs
>
> However, neither the original boot arm it worked.
>
> So, I found this link that helped me build the dtb file and u-boot.
>
> http://dbolgheroni.github.io/generatig-an-openbsd-miniroot-for-cubieboard2.html
>
> I then installed via ports (sysutils/[u-boot|dtb]) files and tried to
> create an image for the banana_r1 (lamobo_r1)
>
> [~/build]$ ftp http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs
> Trying 129.128.5.191...
> Requesting http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs
> 100% |************************************************************************************************|
> 18432 KB    00:34
> 18874368 bytes received in 34.41 seconds (535.73 KB/s)
> [~/build]$ vnconfig vnd0 miniroot-cubie-60.fs
> [~/build]$ mount /dev/vnd0i /mnt/vnd0i
> [~/build]$ cd /mnt/vnd0i
> [/mnt/vnd0i]$ ls
> efi                            sun7i-a20-cubieboard2.dtb
> [/mnt/vnd0i]$ cp /usr/local/share/dtb/arm/sun7i-a20-lamobo-r1.dtb .
> [/mnt/vnd0i]$ cd
> [~]$ dd if=/usr/local/share/u-boot/Lamobo_R1/u-boot-sunxi-with-spl.bin
> of=/dev/rvnd0c bs=1024 seek=8
> 474+1 records in
> 474+1 records out
> 485687 bytes transferred in 0.436 secs (1113555 bytes/sec)
> [~]$ umount /dev/vnd0i
> [~]$ cd build
> [~/build]$ vnconfig -u vnd0
>
> I grab the image on the sdcard and nothing ....
>
> follows a picture of the card/serial: http://imgur.com/a/Hzn06
>
> thanks !
> --
> Luiz Gustavo Costa
> -----------------------------------------------------------------
> Mundounix - Consultoria em Software Livre
> http://www.mundounix.com.br
> Skype: mundounix
>

--
Juan Francisco Cantero Hurtado http://juanfra.info

Reply | Threaded
Open this post in threaded view
|

Re: Openbsd 6 snapshot Banana pi r1 boot

Luiz Gustavo dos S. Costa
2016-11-07 20:59 GMT-02:00 Juan Francisco Cantero Hurtado <[hidden email]>:
> https://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/INSTALL.armv7
>
> Follow the instructions in the section "Install on systems without a
> supported miniroot".
>

Hi, thanks for you message. But, that's exactly what i did, see my message.

>>
>> I then installed via ports (sysutils/[u-boot|dtb]) files and tried to
>> create an image for the banana_r1 (lamobo_r1)
>>
>> [~/build]$ ftp http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs
>> Trying 129.128.5.191...
>> Requesting http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-60.fs
>> 100% |************************************************************************************************|
>> 18432 KB    00:34
>> 18874368 bytes received in 34.41 seconds (535.73 KB/s)
>> [~/build]$ vnconfig vnd0 miniroot-cubie-60.fs
>> [~/build]$ mount /dev/vnd0i /mnt/vnd0i
>> [~/build]$ cd /mnt/vnd0i
>> [/mnt/vnd0i]$ ls
>> efi                            sun7i-a20-cubieboard2.dtb
>> [/mnt/vnd0i]$ cp /usr/local/share/dtb/arm/sun7i-a20-lamobo-r1.dtb .
>> [/mnt/vnd0i]$ cd
>> [~]$ dd if=/usr/local/share/u-boot/Lamobo_R1/u-boot-sunxi-with-spl.bin
>> of=/dev/rvnd0c bs=1024 seek=8
>> 474+1 records in
>> 474+1 records out
>> 485687 bytes transferred in 0.436 secs (1113555 bytes/sec)
>> [~]$ umount /dev/vnd0i
>> [~]$ cd build
>> [~/build]$ vnconfig -u vnd0
>>
>> I grab the image on the sdcard and nothing ....
>>
>> follows a picture of the card/serial: http://imgur.com/a/Hzn06
>>


> --
> Juan Francisco Cantero Hurtado http://juanfra.info
>

Have a nice day !

--
Luiz Gustavo Costa  |  +55 (21) 9-8834-6998
-----------------------------------------------------------------
Mundounix - Consultoria em Software Livre
http://www.mundounix.com.br
Skype: mundounix