Date: Sun, 15 Mar 2015 21:01:39 -0700 From: Russell Haley <russ.haley@gmail.com> To: Ian Lepore <ian@freebsd.org> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Building Cross Compiler and u-boot Message-ID: <CABx9NuS0_XY_N4TtyiL8O3vWU37V5JVcs5M-p%2BYhUQB8HrkVkg@mail.gmail.com> In-Reply-To: <1426437012.67325.7.camel@freebsd.org> References: <CABx9NuQXb_FJMw%2BqwbaGuFX94LkEMRf_9kAuowk6ctYBEDQn=A@mail.gmail.com> <1426437012.67325.7.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ian, Sorry, I'm sure this is a newbie mistake, but I'm still getting gcc not found. root@Jailbird:/usr/local/arm-none-eabi$ pkg install arm-none-eabi-gcc Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) The most recent version of packages are already installed root@Jailbird:/usr/local/arm-none-eabi$ gcc gcc: Command not found. I'm not sure where it was installed? root@Jailbird:/usr/local/arm-none-eabi/bin# ls ar as ld ld.bfd nm objcopy objdump ranlib size strip On Sun, Mar 15, 2015 at 9:30 AM, Ian Lepore <ian@freebsd.org> wrote: > On Sat, 2015-03-14 at 21:14 -0700, Russell Haley wrote: >> Hello I am trying to build the cross compile tools and make u-boot. >> >> Tim Kientzle spoke about two ways of getting cross compilers for >> outside of building FreeBDS: >> >> 1) make TARGET=arm TARGET_ARCH=armv6 buildenv >> >> after a successful buildworld >> >> 2)make xdev XDEV=arm XDEV_ARCH=armv6 >> >> I have struggled (and failed) to make either work. I checked out Rui >> Paulos uboot fork to /usr/uboot. >> >> >> 1)Using buildenv -> > > The xdev way of building crosstools to build uboot is pretty much dead. > Probably the best way forward is to use one of the existing u-boot ports > such as sysutils/u-boot-wandboard, copy it and transform it into a port > to build the flavor you need. To save the time of building the port > cross-compiler from scratch you can do "pkg install arm-none-eabi-gcc". > > Are you working with the ConnectCore 6? If so, the u-boot ports for > wandboard or cubox-hummingboard are probably 99% ready, you may need to > tweak the config file patch in the port. > > -- Ian >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuS0_XY_N4TtyiL8O3vWU37V5JVcs5M-p%2BYhUQB8HrkVkg>