Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 19:59:16 +0000
From:      =?iso-8859-1?Q?Wei=DF=2C__Dr=2E_J=FCrgen?= <weiss@uni-mainz.de>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Cc:        'Ian Lepore' <ian@FreeBSD.org>
Subject:   RE: Jetson TK1 board support
Message-ID:  <4467b9ec5ab64d25b6fde5ed9615bcf4@e15be-02.zdv.Uni-Mainz.DE>
In-Reply-To: <fd18f77d7e6d4de4b1a26aece9e3956b@e15be-02.zdv.Uni-Mainz.DE>
References:  <CAASDrVkKEPUeoQqfo0_O9XpCB7Tdqgjs_VgjM9UeqWMVKt5%2BTQ@mail.gmail.com> <D041D0CA.4C994%john@thehowies.com> <CAASDrVkY3uSZUPV7r0LrzfxPhLsMvvLN5=eg9zd7pgKEisVifw@mail.gmail.com> <1411307019.66615.158.camel@revolution.hippie.lan> <fd18f77d7e6d4de4b1a26aece9e3956b@e15be-02.zdv.Uni-Mainz.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I have collected the patches to run FreeBSD on Jetson TK1
in the following archive:

http://www.staff.uni-mainz.de/weiss/jetson-tk1.tgz

Part of it is not pretty, but the system is able to
do a buildworld with -j6 and src and obj over nfs
without problems. I think it is at least a starting
point for further work.

Regards

Juergen=20

Juergen Weiss      |Universitaet Mainz, Zentrum fuer Datenverarbeitung,
weiss@uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39-2=
6407

> -----Original Message-----
> From: owner-freebsd-arm@freebsd.org [mailto:owner-freebsd-arm@freebsd.org=
] On Behalf Of
> Wei=DF, Dr. J=FCrgen
> Sent: Sunday, September 21, 2014 4:30 PM
> To: 'Ian Lepore'; Lundberg, Johannes
> Cc: freebsd-arm@freebsd.org
> Subject: RE: Jetson TK1 board support
>=20
> Hi,
>=20
> I have a rather rough port of FreeBSD current on arm to Jetson TK1. I
> used Stephen Warren's tegra u-boot sources, which initialize and configur=
e
> USB and PCIe.
>=20
> So SMP, USB and the onboard PCIe Ethernet adapter work.
>=20
> After Ian's changes to busdma_machdep-v6 (r269212) I had problems with
> cache coherency with the Ethernet adapter. Seems this is due to the aggre=
ssive
> L2 prefetcher of Cortex A15. Disabling L2 prefetch does help, as well as
> invalidating the cache a second time after the dma transfer. I'm not
> sure what the correct solution to this problem is. I wonder how
> other Cortex A15 platforms (exynos5) handle this.
>=20
> I will probably be able to do some cleanups and put patches on the web
> within a week.
>=20
> Regards
>=20
> Juergen
>=20
> Juergen Weiss      |Universitaet Mainz, Zentrum fuer Datenverarbeitung,
> weiss@uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39=
-26407
>=20
> > -----Original Message-----
> > From: owner-freebsd-arm@freebsd.org [mailto:owner-freebsd-arm@freebsd.o=
rg] On Behalf Of
> > Ian Lepore
> > Sent: Sunday, September 21, 2014 3:44 PM
> > To: Lundberg, Johannes
> > Cc: freebsd-arm@freebsd.org
> > Subject: Re: Jetson TK1 board support
> >
> > On Sun, 2014-09-21 at 16:45 +0900, Lundberg, Johannes wrote:
> > > Great!
> > >
> > > What I've done so far is
> > >
> > > - build and patch (enable API) u-boot-nvidia on freebsd (i think i go=
t it
> > > from git://nv-tegra.nvidia.com/3rdparty/u-boot.git, the normal u-boot
> > > wouldn't work...)
> > > - flash u-boot-dtb-tegra.img onto the board's mmc using nvidia's flas=
h tool
> > > on ubuntu
> > > - build an image using crochet and dd to sd card (so far I copied the
> > > beaglebone setup, just to get a ubldr and a kernel file)
> > >
> > >
> > > From u-boot I can see all devices. I load ubldr with
> > > fatload mmc 1:1 0x80200000 ubldr
> > > bootelf 0x80200000
> > >
> > > ubldr load fine but, from ubldr I can only see the mmc 0 and net devi=
ces.
> > > There's no sd card (mmc 1), and no ufs partition..
> > >
> > >
> > >
> > >
> > > --
> > > Johannes Lundberg
> > > BRILLIANTSERVICE CO., LTD.
> > >
> > > On Fri, Sep 19, 2014 at 8:25 PM, John Howie <john@thehowies.com> wrot=
e:
> > >
> > > > Hi all,
> > > >
> > > > I am up for testing and supporting this board. I ordered and receiv=
ed
> > > > mine, but have not really had a chance to use it due to work to-dat=
e. The
> > > > good news is the next few months I will have bandwidth.
> > > >
> > > > Regards,
> > > >
> > > > John
> > > >
> > > >
> > > > On 9/19/14, 12:15 PM, "Lundberg, Johannes"
> > > > <johannes@brilliantservice.co.jp> wrote:
> > > >
> > > > >Hi
> > > > >
> > > > >I started working on adding the Jetson TK1 board to Crochet. Is th=
ere any
> > > > >work in progress on this?
> > > > >I guess there is quite a lot of work that has to been done to get =
full
> > > > >support for it in the kernel as well..
> > > > >
> > > > >Best regards
> > > > >--
> > > > >Johannes Lundberg
> > > > >
> >
> > You may have to change some u-boot options to support multiple mmc/sd
> > interfaces.  Look in the config header for CONFIG_SYS_MMC_MAX_DEVICE; i=
f
> > it's not there you may need to add it.  For wandboard I also had to add
> > a freescale-specific one, CONFIG_SYS_FSL_USDHC_NUM, so there may be
> > something like that you need to find as well.
> >
> > -- Ian
> >
> >
> > _______________________________________________
> > freebsd-arm@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4467b9ec5ab64d25b6fde5ed9615bcf4>