On Sun, Jul 17, 2016 at 10:41:22AM -0600, Aaron Bieber wrote: > > > On Sun, Jul 17, 2016, at 08:24 AM, Jonathan Gray wrote: > > On Sun, Jul 17, 2016 at 07:42:49AM -0600, Aaron Bieber wrote: > > > 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. > > > > Try the following. The pins won't be explicitly muxed though > > so it may not be enough. > > Gets a bit further:
Ah OMAP4 has an extra i2c unit. Try this http://jsg.id.au/openbsd/bsd Index: prcm.c =================================================================== RCS file: /cvs/src/sys/arch/armv7/omap/prcm.c,v retrieving revision 1.10 diff -u -p -r1.10 prcm.c --- prcm.c 17 Jul 2016 00:21:13 -0000 1.10 +++ prcm.c 17 Jul 2016 22:32:34 -0000 @@ -287,6 +287,12 @@ prcm_v3_bit(int mod) return PRCM_CLK_EN_GPIO5; case PRCM_GPIO5: return PRCM_CLK_EN_GPIO6; + case PRCM_I2C0: + return PRCM_CLK_EN_I2C1; + case PRCM_I2C1: + return PRCM_CLK_EN_I2C2; + case PRCM_I2C2: + return PRCM_CLK_EN_I2C3; default: panic("%s: module not found\n", __func__); } @@ -414,6 +420,12 @@ prcm_v4_enablemodule(struct prcm_softc * case PRCM_GPIO3: case PRCM_GPIO4: case PRCM_GPIO5: + /* XXX */ + break; + case PRCM_I2C0: + case PRCM_I2C1: + case PRCM_I2C2: + case PRCM_I2C3: /* XXX */ break; default: Index: prcmvar.h =================================================================== RCS file: /cvs/src/sys/arch/armv7/omap/prcmvar.h,v retrieving revision 1.5 diff -u -p -r1.5 prcmvar.h --- prcmvar.h 18 Mar 2014 07:34:17 -0000 1.5 +++ prcmvar.h 17 Jul 2016 22:32:34 -0000 @@ -51,6 +51,7 @@ enum PRCM_MODULES { PRCM_I2C0, PRCM_I2C1, PRCM_I2C2, + PRCM_I2C3, }; #define PRCM_REG_MAX 6