From david_bisset@btconnect.com Tue Oct 25 08:59:52 2011 Received: from c2beaomr09.btconnect.com ([213.123.26.187] helo=mail.btconnect.com) by stoneboat.aleph1.co.uk with esmtp (Exim 4.72) (envelope-from ) id 1RIbvC-0003Wp-W6 for balloon@balloonboard.org; Tue, 25 Oct 2011 08:59:52 +0100 Received: from host86-157-248-84.range86-157.btcentralplus.com (EHLO _192.168.0.10_) ([86.157.248.84]) by c2beaomr09.btconnect.com with ESMTP id EXA69108; Tue, 25 Oct 2011 08:59:16 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: David Bisset In-Reply-To: <20111024182255.GF9829@dream.aleph1.co.uk> Date: Tue, 25 Oct 2011 08:59:14 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <93D26F00-E7C6-4F91-8596-27E4C37B888E@btconnect.com> References: <20111024182255.GF9829@dream.aleph1.co.uk> To: Wookey X-Mailer: Apple Mail (2.1084) X-Mirapoint-IP-Reputation: reputation=Neutral-1, source=Queried, refid=tid=0001.0A0B0302.4EA66C52.00B4, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.10.25.64814:17:7.586, ip=86.157.248.84, rules=__BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __MIME_VERSION, __MIME_VERSION_APPLEMAIL, __CT, __CT_TEXT_PLAIN, __CTE, __HAS_MSGID, __SANE_MSGID, __MSGID_APPLEMAIL, __TO_MALFORMED_2, __HAS_X_MAILER, __X_MAILER_APPLEMAIL, __ANY_URI, __URI_NO_WWW, __CP_URI_IN_BODY, __INT_PROD_GPS, BODY_SIZE_4000_4999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, __USER_AGENT_APPLEMAIL, RDNS_SUSP, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2beaomr09.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0208.4EA66C5A.0071,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false X-SA-Exim-Connect-IP: 213.123.26.187 X-SA-Exim-Mail-From: david_bisset@btconnect.com X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on stoneboat.aleph1.co.uk X-Spam-Level: X-Spam-Status: No, score=-2.2 required=4.5 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk) Cc: Balloon Subject: Re: [Balloon] Trying to get a loon with USB host working X-BeenThere: balloon@balloonboard.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Balloon List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2011 07:59:52 -0000 I can only comment on the hardware. Firstly the two connectors where USB Host might appear are: J11 (on the bottom at the processor end) this is the "Comms Connector" J13 (top next to the power connector) this is the Pinko Connector. J11 will only be fitted on early CUED boards. J13 should be fitted on all Balloons. The USB Host power is an integral part of the USB Host signals as it = must switch on and off appropriately. This is available on J11, or on the white SUR connector J4 next to the = processor. The USB Host availability changes depending on board revision as a = result of finding OTG doesn't work. 3v21 (early CUED and single sided CPLD Barric) USB Host - and + only = available on J1,1 power on J11 and J4 3v31 USB Host - and + available on J13 p22 and p23. Power available on = J11 and J4. 3v32 (single side FPGA build) same as 3v31 3v33 (Current production) USB Host + and - as 3v31 but Host power = available on J13 p16 and p17. Board revisions are in copper on the rear top left of the board, you = will need a magnifier to see it... =46rom memory there is a "lock step" sync between bootloader rev and = Kernel rev, get the wrong combination and it won't work. YAFFS compatibility issues? However I've not tried current builds on older hardware, however beyond = USB issues caused by the above the only other hardware changes (between 3v31 and 3v33) have been to improve audio sound quality and fix = minor bugs. Good luck David On 24 Oct 2011, at 19:22, Wookey wrote: > Hi people >=20 > I'm trying to wire up a loon with debian/emdebian armel rootfs and USB > host working so I can test modern gpsd with a PPS timing signlal from > a GPS. >=20 > This is proving surprisingly difficult.=20 >=20 > I have an old CUED-vintage FPGA baloon and a single-sided > barric-vintage CPLD loon. The CUED one work but is running arm, not > armel (and is unhelpfully high-power). ARM doesn't have gpsd v2.95, > only armel. We could upgrade, but does anyone know if the current 1.0 > release works OK on these boards? >=20 > So, I try the CPLD board. That works fine and boots into installer > kernel. It has no rootfs or kernel in flash. >=20 > I try building current trunk and am mildly astonished to find that > selecting 'gneric balloon' and waiting about 4 hours it all built - > without any whinging. Well done! >=20 > However copying the rootfs (emdebia+modules) and kernel onto root and > boot (/dev/mtdblock1 and mtdblock0 respectively). All it does now is > give me 'UNDEF' and die on trying to boot the kernel. Anyone recall > what that's about? >=20 > If I stop the bootloader and mount root and boot manually they seem = OK.=20 >=20 > bootloader is Rev 3-3-0 for Balloon [LARGE_MEMORY_MODEL] [BIG_KERNEL] > [MD5] [NAND] [YAFFS] [MONO] > Last link date: Thu May 20 13:17:31 BST 2010 >=20 > installer kernel that works is:=20 > Linux 2.6.29.1-pxa270 #10 Thu May 20 02:57:47 BST 2010 armv5tel = unknown >=20 > balloon build built kernel 2.6.37.6 by default.=20 >=20 > I also discovered that you can't use USB host on older loon with the > breakout boards - you have to use a CUED board. Wired up wrong > port/pins I guess. >=20 > I have a newer loon, but without a J12 soldered on the back I don't > think I can access USB host - right? >=20 > This is all teriffically urgent as I am leaving on a plane tomorrow, > and want to leave GPS-research man with a working board. >=20 > What's the easiest way to do that?=20 >=20 > this is what you get if you let the balloon boot the normal kernel: > MMU table entries > 00000000 A3E00C0A > 00000040 04000C02 > 00000080 08000C02 > 00000100 10000C02 > 00000140 14000C02 > 00000000 A3E00C0A > 00000500 00000C02 > 00000A00 A0000C0A > 00000A40 A4000C0A > 00000E00 E0000C02 > Enabling MMU... OK > UNDF > F1DA87EC > CB777BF1 >=20 > or, stopping at the boot prompt to enable debug: > Enabling MMU... OK > boot> boot > booting yaffs... > Rootfs is "yaffs2" > Kernel filesize =3D 0x001E00A0 > Booting file "/boot/zImage"... > kernel partition base A0008000 > kernel_magic=3D00000000 > kernel_region_words[9]=3D00000000 > copying NetBSD kernel ... done > done! > Jumping to 0xF0000020.. > UNDF > F1DA87EC > CBFF7BF1 >=20 > I've seen this before. Do I just need a newer bootloader (risk of > total breakage if that doesn't work... >=20 > Am I better off working with release 1.0 or current trunk in terms of > 'known to work' especially on v3.old hardware? >=20 > If I go to new hardware how do I get USB host wired up? >=20 > Cheers >=20 > Wookey > --=20 > Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM > http://wookware.org/ >=20 > _______________________________________________ > Balloon mailing list > Balloon@balloonboard.org > http://balloonboard.org/mailman/listinfo/balloon >=20 >=20