Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2015 22:42:56 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Digi-CCWMX53 - u-boot
Message-ID:  <CABx9NuSeJhUZz1SPYzrv70Rm0=wwjiSu0TH0yXZzwvwKZkWatQ@mail.gmail.com>
In-Reply-To: <1427220117.1588.1.camel@freebsd.org>
References:  <CABx9NuQZe3k%2BAtRxtUg5k3=5jM20RQdgnwpuKr9uc07VY1C1EQ@mail.gmail.com> <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com> <CABx9NuRhwfW=AZ%2BLUnQ4f2yzO-cf%2BbNX28BZqP6KCs5xKf-G-g@mail.gmail.com> <F33D2637-1D5D-431F-89D4-D9C051582A57@me.com> <CABx9NuQD=tapnsueRQO-mQq5=sRZ4RLPg7fRyuyk237HH=8vDA@mail.gmail.com> <215C10E1-9F47-46B6-A60B-430D7DEDA090@me.com> <CABx9NuTbuxyu-W%2BgLznVnFS1aAivw6u6HPHuD99d1=f-staC=g@mail.gmail.com> <1427212609.5591.10.camel@freebsd.org> <1427220117.1588.1.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Ian,

Sorry, getting another error. This is in a fresh 10-Release jail. I
installed arm-none-eabi-gcc from pkgng. The missing "m" in make is not
a copy/paste error.

# pwd
/usr/ports/sysutils/u-boot-ccwmx53
# make install
make: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 29:
Unassociated shell command "${U_BOOT_DIR}/README"
"ake: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 32:
Unassociated shell command "CROSS_COMPILE=arm-none-eabi- \
make: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 33:
Unassociated shell command "HOSTCC=cc"
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/sysutils/u-boot-ccwmx53

Russ

On Tue, Mar 24, 2015 at 11:01 AM, Ian Lepore <ian@freebsd.org> wrote:
> On Tue, 2015-03-24 at 09:56 -0600, Ian Lepore wrote:
>> On Mon, 2015-03-23 at 22:34 -0700, Russell Haley wrote:
>> > Okay, I'll create a 10 jail and see what happens. Last straw is to try
>> > this in Linux? I'm working on a make tutorial right now. <shrug>
>> >
>> > Good doggy Russell, good doggy.
>> >
>> > ha ha.
>> >
>>
>> Try the attached new port I just threw together for building u-boot for
>> this board.  I have a different imx53 board so I haven't run-tested
>> this, but it builds for me on my x86 10-stable machine.
>>
>> Unfortunately, this is the oldest u-boot source I've ever tried to work
>> with and most of the "standard freebsd u-boot patches" won't apply, so
>> this is pretty much exactly what comes from Rui's github branch.  (I was
>> able to use the latest u-boot from denx for my imx53 board, but
>> apparently Digi never contributed their changes back to denx so this
>> ancient version is the only option right now.)
>>
>> To use this diff, cd to your /usr/ports dir and apply the diff using:
>>
>>   patch -p0 </path/to/u-boot-ccwmx53.diff
>>
>> Then just cd to /usr/ports/sysutils/u-boot-ccwmx53 and do "make install"
>> and you should end up with the u-boot files for your board installed
>> at /usr/local/share/u-boot
>
> Oops, I just noticed a typo in that... in PLIST_FILES, the filename
> should be u-boot.bin, not u-boot.imx.
>
> -- Ian
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuSeJhUZz1SPYzrv70Rm0=wwjiSu0TH0yXZzwvwKZkWatQ>