Date: Wed, 13 Aug 2014 23:59:26 +0800 From: Ganbold Tsagaankhuu <ganbold@gmail.com> To: TooMeeK Admin <maps@toomeek.waw.pl> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: U-boot for Banana Pi Message-ID: <CAGtf9xNy_HwUSXFJB3JgQuqUhn6p0z=hi5WQdFgGy2m69HO3vw@mail.gmail.com> In-Reply-To: <53EB8994.9080801@toomeek.waw.pl> References: <53EB40BC.8070506@toomeek.waw.pl> <53EB41EC.1080507@toomeek.waw.pl> <D6453375-5427-406C-8399-ACBAE8E1DBBC@kientzle.com> <53EB8994.9080801@toomeek.waw.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 13, 2014 at 11:51 PM, TooMeeK Admin <maps@toomeek.waw.pl> wrote= : > > W dniu 2014-08-13 16:33, Tim Kientzle pisze: > > >> Any of the following should work for you: >> HOSTCC=3Dgcc47 (because apparently you have a native compiler instal= led >> called =E2=80=9Cgcc47) >> HOSTCC=3Dcc (the standard system compiler works for native builds) >> HOSTCC=3Dclang (U-Boot=E2=80=99s host portions don=E2=80=99t require= GCC) >> > Yeah, no I know what's the point ;) > > You can also specify HOSTCC on the gmake command line: >> >> gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- HOSTCC=3Dcc >> USE_PRIVATE_LIBGCC=3Dyes >> > Thanks! > > But anyway, kernel failed to load on Banana Pi.. > > "reading kernel > Error reading cluster > ** Unable to read file kernel ** > ## Starting application at 0x48000000 ... > undefined instruction..." > > via this command: > fatload mmc 0 0x43000000 script.bin; fatload mmc 0 0x48000000 kernel; go > 0x48000000 > Are you sure about this? As for Cubieboard (https://wiki.freebsd.org/FreeBSD/arm/Cubieboard) it is like: fatload mmc 0 0x40200000 kernel; go 0x40200100 Ganbold > > It loads boot.scr > It loads script.bin > It fails on kernel. > > But thank You for help with compilation, I was struggling this many hours= .. > > _______________________________________________ > 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?CAGtf9xNy_HwUSXFJB3JgQuqUhn6p0z=hi5WQdFgGy2m69HO3vw>