> I want to install OpenBSD 6.8 on A20-OLinuXino-Lime2 . With unicorn's
> help, I followed this tutorial,
> https://regrow.earth/openbsd-on-olinuxino-lime2/
> And completed the 2 dd command steps as shown in the blog. The 
> resultant partitioning is
> 1- 16MB unallocated
> 2- sdb1 fat16 BOOT 2MB                 
> 3- sdb4 ufs no_label 15MB              
> 4- rest unallocated                      

I recommend you to follow the official instructions, if you are
installing 6.8 follow this:

  https://ftp.openbsd.org/pub/OpenBSD/6.8/armv7/INSTALL.armv7

For the u-boot and dtb, you can use the openbsd packages:

https://ftp.openbsd.org/pub/OpenBSD/6.8/packages/aarch64/u-boot-arm-2020.07p0.tgz
https://ftp.openbsd.org/pub/OpenBSD/6.8/packages/aarch64/dtb-5.7p0.tgz

Extract them and search for your u-boot-sunxi-with-spl.bin and dtb.

If you have a problem with the ethernet device, share it and maybe some 
developer
will add the patch to the u-boot package.

> The problem is I don't have a USB-serial cable.

If you are going to use these arm boards, you need one, really.
These are very cheap but well built:

https://aliexpress.com/item/32668866076.html

I've problems with cu(1). If that is your case try minicom.

> I want to somehow edit the /etc/boot.conf before inserting it in Lime2.
> ufs partition is write-protected and I can mount it read-only.

>From your mail I'm supposing you are in a linux machine, trying
to mount the ffs partition. The partition is not write-protected
(unless you are using a micro-sd adapter with the switch on). What
happens is that the ffs module is compiled almost always read
only, the write support is considered dangerous.

If you don't want to install openbsd in the machine you are preparing the
sd card, I recommend you to install a virtual openbsd machine in qemu and
access the card from there.

> Is there a way to change the configuration to hdmi somehow?

Note that you are not configuring openbsd to use hdmi. There is no support for 
it.
What you are doing is configuring the system to use the framebuffer passed by
u-boot. You have to connect the board to the monitor before turning it on, or 
u-boot
will not detect it.

After adding "set tty fb0" to /etc/boot.conf, you will have problems with
xenodm. Try restarting it, or maybe you'll have more luck than me with this

https://marc.info/?l=openbsd-arm&m=160284947222088&w=2

Regards,
adr.

Reply via email to