Digi-CCWMX53 - u-boot
Russell Haley
russ.haley at gmail.com
Wed Mar 25 05:42:59 UTC 2015
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 at 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
>
>
More information about the freebsd-arm
mailing list