Re: Pandaboard ES

Rui-Xiang Guo <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <Z_OBe9EP8s4NSjLR@picohive>
On Sat, Mar 29, 2025 at 09:36:11PM +0800, Rui-Xiang Guo wrote:
> On Tue, Mar 25, 2025 at 01:06:59PM +0800, Rui-Xiang Guo wrote:
> > On Fri, Mar 14, 2025 at 07:54:18PM +0800, Rui-Xiang Guo wrote:
> > > I am trying to bring the board to 10.0, and it looks better now:
> > > https://github.com/picohive/netbsd-pandaboard/blob/main/boot.log
> > > 
> > > The current problem - is there any proper method to pass a clock
> > > from omap4prcm to a9ptmr?
> > 
> > Eventually, the board works on 10.0:
> > https://dmesgd.nycbug.org/dmesgd?do=view&id=8298
> > 
> > The patches:
> > https://github.com/picohive/netbsd-pandaboard
> > 
> > And we need to update u-boot-pandaboard:
> > ===================================================================
> > RCS file: /cvsroot/pkgsrc/sysutils/u-boot-pandaboard/Makefile,v
> > retrieving revision 1.2
> > diff -u -p -r1.2 Makefile
> > --- Makefile    12 Aug 2021 07:25:59 -0000      1.2
> > +++ Makefile    25 Mar 2025 04:02:38 -0000
> > @@ -5,6 +5,8 @@ UBOOT_CONFIG=           omap4_panda_defconfig
> >  UBOOT_BIN=             u-boot.img
> >  UBOOT_BIN+=            MLO
> > 
> > +UBOOT_VERSION=         2021.01
> > +
> >  UBOOT_INSTALLBOOT_PLIST=       installboot.plist
> > 
> >  .include "../../sysutils/u-boot/u-boot-arm.mk"
> > 
> > Some known issues:
> > 1. a9ptmr manually obtains frequency, not sure if this is a good solution.
> > 2. armpmu failed to be attached, it seems to be a problem with dts.
> > 3. ti_prcm doesn't support multiple instances so we can get the last attached
> >    PRCM (CM2) clocks only, this causes tiwdt to not work.
> 
> Issue 3 should be my misunderstanding, tiwdt is attached if I comment out
> wd_timer3 clock in omap4_prcm.

Issue 1 is fixed by changing a9ptmr pass 2 to 3 so a9ptmr.diff is no need.

-rxg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.