Date: Tue, 1 Jun 2010 20:42:18 +0700 From: Yohanes Nugroho <yohanes@gmail.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-arm@freebsd.org Subject: Re: at91sam9g20 Message-ID: <AANLkTik6IhuU0_0VKN4WtClh9YY8gZoDHfQmWrlnZ4VC@mail.gmail.com> In-Reply-To: <20100531.221446.770914110756584248.imp@bsdimp.com> References: <AANLkTimt7jdRO-K6uT09RwCrnvREmhy0-R8wBLtJpk32@mail.gmail.com> <20100531.221446.770914110756584248.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 1, 2010 at 11:14 AM, M. Warner Losh <imp@bsdimp.com> wrote: > : http://bsdimp.blogspot.com/2007/03/followup-atmel-at91-family-work.html > : http://marc.info/?l=3Dfreebsd-arm&m=3D123783989612142&w=3D2 > > Yes. =C2=A0There's a lot of ideas, but I never had time to implement them= . > The best part would be to convert the atmel port to use FDT and that > would nicely solve most of the problems. I will look into the FDT, and see how much work it would be. > > : - I've got the SPI code to work, and modify the hardcoded value in > : at45d =C2=A0for the dataflash. I can get the JEDEC ID and status. But h= ow > : do i test reading from the /dev/flash/spi0 from userspace? > > dd if=3D/dev/flash/spi0 bs=3Dblock-size ah yes, the blocksize, now I can say the SPI and at45d (dataflash) works. --=20 Regards Yohanes http://yohan.es/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik6IhuU0_0VKN4WtClh9YY8gZoDHfQmWrlnZ4VC>