On Sun, Jul 17, 2016 at 12:24:34AM +1000, Jonathan Gray wrote:
> On Sat, Jul 16, 2016 at 07:44:17AM -0600, Aaron Bieber wrote:
> > Hola,
> >
> > It seems there is an issue on the PandaBoard ES - it doesn't want to
> > display anything after booting the kernel:
> >
> > cannot open sd0a:/etc/random.seed: No such file or directory
> > booting sd0a:/bsd: 2091172+7928680+435444 [64+297456+142800]=0xa659d0
> >
> > Not sure if it needs to be told where the output should go, or what. I
> > tried doing a "set tty com0" which resulted in:
> >
> > com0 not a console device
> >
> > Any suggestions?
> >
> > Cheers,
> > Aaron
> >
>
> The console appears to be on 0x48020000 but the dtb does not
> set stdout-path.
>
> Try http://jsg.id.au/openbsd/omap4-panda-es.dtb
This fixes the console issue, but now it's halting after this:
tiiic0 at simplebus0panic: prcm_v4_enablemodule: module not found
The operating system has halted.
Please press any key to reboot.
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/dtb/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile
> --- Makefile 29 May 2016 02:07:26 -0000 1.1.1.1
> +++ Makefile 16 Jul 2016 14:03:11 -0000
> @@ -2,6 +2,7 @@
>
> COMMENT= Device Tree Blobs
> DISTNAME= linux-4.6
> +REVISION= 0
> PKGNAME= ${DISTNAME:S/linux/dtb/}
> CATEGORIES= sysutils
> HOMEPAGE= http://www.devicetree.org
> --- /dev/null Sun Jul 17 00:20:30 2016
> +++ patches/patch-arch_arm_boot_dts_imx6q-cm-fx6_dts Sun Jul 17 00:16:07 2016
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +--- arch/arm/boot/dts/imx6q-cm-fx6.dts.orig Sun Jul 17 00:15:03 2016
> ++++ arch/arm/boot/dts/imx6q-cm-fx6.dts Sun Jul 17 00:15:38 2016
> +@@ -22,6 +22,10 @@
> + reg = <0x10000000 0x80000000>;
> + };
> +
> ++ chosen {
> ++ stdout-path = &uart4;
> ++ };
> ++
> + leds {
> + compatible = "gpio-leds";
> +
> --- /dev/null Sun Jul 17 00:20:44 2016
> +++ patches/patch-arch_arm_boot_dts_omap4-panda-common_dtsi Sun Jul 17
> 00:18:52 2016
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +--- arch/arm/boot/dts/omap4-panda-common.dtsi.orig Sun Jul 17 00:18:27 2016
> ++++ arch/arm/boot/dts/omap4-panda-common.dtsi Sun Jul 17 00:18:44 2016
> +@@ -13,6 +13,10 @@
> + reg = <0x80000000 0x40000000>; /* 1 GB */
> + };
> +
> ++ chosen {
> ++ stdout-path = &uart3;
> ++ };
> ++
> + aliases {
> + display0 = &dvi0;
> + display1 = &hdmi0;