Date: Fri, 15 Aug 2014 13:40:50 +0200 From: TooMeeK Admin <maps@toomeek.waw.pl> To: freebsd-arm@freebsd.org Subject: Re: U-boot for Banana Pi Message-ID: <53EDF1C2.7030002@toomeek.waw.pl> In-Reply-To: <53EDEC4B.8070502@gmail.com> References: <53EB40BC.8070506@toomeek.waw.pl> <53EB41EC.1080507@toomeek.waw.pl> <D6453375-5427-406C-8399-ACBAE8E1DBBC@kientzle.com> <53EB8994.9080801@toomeek.waw.pl> <1407947691.56408.507.camel@revolution.hippie.lan> <53EBDA95.8000604@toomeek.waw.pl> <CAGtf9xNPTW=VgMf69U28zArDfjzMxnMFkg3st-zufdMrB0UHoQ@mail.gmail.com> <53EC8D1A.2000005@toomeek.waw.pl> <CAGtf9xPJQwpZhRUNWgAVd=miGhHLTY8A0mjBbyP9Xi=rCQXUzQ@mail.gmail.com> <53EC95EE.20708@toomeek.waw.pl> <53ED6286.9000307@toomeek.waw.pl> <53EDEC4B.8070502@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank You Mat, I'll try this later. I've tried to get some more information about device itself, can You help investigating? Here's command: echo "bdinfo; coninfo; fatinfo mmc 0:1; fatinfo mmc 0:2; flinfo; imls; mmcinfo; fatls mmc 0:1" > boot.cmd /usr/src/u-boot-sunxi/tools/mkimage -C none -A arm -T script -d boot.cmd boot.scr And output: U-Boot 2014.04-10700-g4e19806 (Aug 13 2014 - 14:44:36) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: Bananapi I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: dwmac.1c50000 Hit any key to stop autoboot: 2 1 0 reading uEnv.txt ** Unable to read file uEnv.txt ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** reading boot.scr 120 bytes read in 21 ms (4.9 KiB/s) Jumping to boot.scr ## Executing script at 44000000 arch_number = 0x000010BB boot_params = 0x40000100 DRAM bank = 0x00000000 -> start = 0x40000000 -> size = 0x40000000 eth0name = dwmac.1c50000 ethaddr = 02:50:07:83:05:61 current eth = dwmac.1c50000 ip_addr = <NULL> baudrate = 115200 bps TLB addr = 0x7FFF0000 relocaddr = 0x7FF86000 reloc off = 0x35F86000 irq_sp = 0x7FB65EF0 sp start = 0x7FB65EE0 List of available devices: serial 80000003 SIO stdin stdout stderr eserial4 00000003 .IO eserial3 00000003 .IO eserial2 00000003 .IO eserial1 00000003 .IO eserial0 00000003 .IO usage: fatinfo <interface> [<dev[:part]>] Unknown command 'flinfo' - try 'help' Unknown command 'imls' - try 'help' Device: SUNXI SD/MMC Manufacturer ID: 3 OEM: 5344 Name: SU01G Tran Speed: 25000000 Rd Block Len: 512 SD version 2.0 High Capacity: No Capacity: 942.5 MiB Bus Width: 4-bit Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** reading script.bin 51072 bytes read in 243 ms (205.1 KiB/s) reading uImage ** Unable to read file uImage ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** sun7i# But seems fatinfo doesn't provide vital information, same for "fatinfo mmc 0", same for flinfo and imls ?? Note start and size of DRAM.. Cheers, TooMeeK >> > kernel.bin needs to be loaded witout the 100 offset I think. see below. >> >> > I believe it should be > fatload mmc 0 0x40200000 kernel.bin > go 0x40200000 > > You don't have the loader part then though.. > > Cheers, > > Mat > _______________________________________________ > 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?53EDF1C2.7030002>