Date: Tue, 2 Aug 2016 11:30:32 -0500 From: James Milne <milne.james@gmail.com> To: freebsd-arm@freebsd.org Subject: Utilite CM-FX6 FreeBSD with ubldr Message-ID: <CALOrTH6dJmPQ84hL7WJs4SVNh3cNnCYf6Ff%2BsmgQdQKqioUGzQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm having a challenge getting ubldr to see my mmc card (even after I u-boot from it). Specifically: Use the u-boot-utilite u-boot image on the SD card, copy of ubldr after cross build. (Not using crochet) fatload mmc 2 0x10800000 ubldr (not using .bin atm, although both fail) bootelf 0x10800000 I've tried to setenv loaderdev= to about everything I can think of: mmc 0 mmc 2 disk0 etc No luck. Any suggestions? <initial u-boot> U-Boot SPL 2015.07-cm-fx6-3 (Jul 29 2016 - 01:09:00) Trying to boot from MMC U-Boot 2015.07-cm-fx6-3 (Jul 29 2016 - 01:09:00 +0000) CPU: Freescale i.MX6Q rev1.2 1200 MHz (running at 792 MHz) Reset cause: WDOG Board: CM-FX6 I2C: ready DRAM: 2 GiB NAND: 0 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 SF: Detected M25PX16 with page size 256 Bytes, erase size 64 KiB, total 2 MiB In: serial Out: serial Err: serial PCB: 1.0 Net: FEC Hit any key to stop autoboot: 0 CM-FX6 # </initial u-boot> <log> CM-FX6 # fatload mmc 2 0x10800000 ubldr reading ubldr 267307 bytes read in 29 ms (8.8 MiB/s) CM-FX6 # bootelf 0x10800000 ## Starting application at 0x10800098 ... Consoles: U-Boot console Compatible U-Boot API signature found @0x8f5584d8 FreeBSD/armv6 U-Boot loader, Revision 1.2 (e42@freebsd.test.local, Sun Jul 31 13:35:49 CDT 2016) DRAM: 2048MB Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Card did not respond to voltage select! Number of U-Boot devices: 2 U-Boot env: loaderdev='mmc 0' Found U-Boot device: disk Requested disk type/unit/slice/partition not found Found U-Boot device: net No boot device found! data abort pc : [<8ff55c0c>] lr : [<8ff55c83>] reloc pc : [<17800c0c>] lr : [<17800c83>] sp : 8f554d38 ip : 10830178 fp : 00000002 r10: 8ffa3004 r9 : 8f554eb0 r8 : 00000000 r7 : 00000001 r6 : 8f55c23c r5 : badef1ce r4 : 00000000 r3 : 32470000 r2 : 00a02104 r1 : 0000000d r0 : badef1ce Flags: nZcv IRQs off FIQs off Mode SVC_32 Resetting CPU ... </log>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALOrTH6dJmPQ84hL7WJs4SVNh3cNnCYf6Ff%2BsmgQdQKqioUGzQ>