Hi,

Thanks to jsg@, the latest snapshot releases of
OpenBSD will boot on the Novenai open-source laptop
(http://www.kosagi.com/w/index.php?title=Novena_Main_Page). It's still
very rough: no SMP, flaky USB and support for the eeprom (so no MAC
addr on the IMX ethernet), but it gets to multi-user and could probably
compile its own kernel given the chance.

http://pastebin.com/raw.php?i=dr2qZSi2 is a boot log

To try it out, the easiest way is to setup a tftp server and configure
DHCP to tell Novena about it. Then boot/reset with the user button held
down, ^C when prompted (be quick, you only have a couple of seconds) and
issue the following u-boot commands:

setenv machid 10ad
setenv loadaddr 0x10800000
dhcp
bootm

Note that u-boot doesn't seem to fully reset the ethernet
controller/MAC. If you experience partial transfers that abort due to
timeouts during the 'dhcp' command then a workaround is to completely
remove power from Novena and try again after a minute or three.

If you can get an installation completed (the imxenet is pretty flaky,
possibly because of an all-0 MAC address), then you'll also need to
copy bsd*.IMX.umg to the /boot partition of the sdcard under Linux
(OpenBSD can't access the sdcard yet) and arrange uboot to fatload
it from there. Something like:

setenv machid 10ad
setenv loadaddr 0x10800000
fatload mmc 0 0x10800000 bsd.IMG.umg
bootm

I baked these sequences into u-boot by following the instructions at
http://www.kosagi.com/w/index.php?title=U-boot_PVT_Notes and
modifying include/configs/novena.h with the additional commands,
but it's also probably possible to put them in the /boot/uEnv.txt file
that uboot reads at startup.

-d

Reply via email to