Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2016 13:30:02 -0800
From:      Warner Losh <imp@bsdimp.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        Mihai Carabas <mihai.carabas@gmail.com>, Nicolae-Alexandru Ivan <alexnivan@gmail.com>,  "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Cubieboard2 with custom bootloader
Message-ID:  <CANCZdfrqCQjShzDDEgckEp_DcR0zDWXVNRTzEC-U03MZ4izWJw@mail.gmail.com>
In-Reply-To: <1481835245.1972.42.camel@freebsd.org>
References:  <CANg1yUsXALko5VvLsyNsHfkA2CDbRX4G_ARgFyjs7ixOo_9KKw@mail.gmail.com> <20161212160553.dee9d435125f9c6b67355d21@bidouilliste.com> <CANg1yUvmK3ti%2BSVXm30GB764SusaDYeKr6SPs5murXXV-8AZVQ@mail.gmail.com> <20161215123900.f141d13bd9814d43feb3f736@bidouilliste.com> <CAPEXxG6Dc33kcy2-jdCF%2BM9XJ5F9XaXpn_U4WT-GaDS=qYNj6w@mail.gmail.com> <20161215133505.a7ffa64924f3be052840b828@bidouilliste.com> <1481817793.1972.2.camel@freebsd.org> <20161215194847.efbfcd94694e6c71dacdc16a@bidouilliste.com> <1481831623.1972.24.camel@freebsd.org> <20161215210115.b224a164cb32abef56b86e7d@bidouilliste.com> <1481832546.1972.31.camel@freebsd.org> <CANg1yUvWkFWLv%2BE2SJOrBd4xgZWsJ0s48L%2BrrRXL=Kz9TSxozw@mail.gmail.com> <1481835245.1972.42.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 15, 2016 at 12:54 PM, Ian Lepore <ian@freebsd.org> wrote:
> On Thu, 2016-12-15 at 22:42 +0200, Mihai Carabas wrote:
>> >
>> >
>> >
>> >
>> > I should mention, btw, that enabling the cache does make a huge
>> > difference.  For a wandboard with caches disabled, loading and
>> > launching the kernel takes 8 or 9 seconds, with dcache enabled it's
>> > less than 1 second.
>> >
>> Ian thank you for your answers. Do you have anywhere the patches for
>> u-boot
>> if we want to compile it from sources?
>>
>> Mihai
>
> The patches I'm referring to are part of the checked-in u-boot ports.
>  They used to be in beaglebone and rpi at least, but the beaglebone
> stuff appears to currently be in a state of flux.  The rpi port still
> has the patches, though.  The patches aren't rpi-specific, I've been
> using them on all arm u-boot stuff (I have uncommited changes for
> wandboard and other imx6 systems, and we use this stuff at $work too).
>
> https://svnweb.freebsd.org/ports/head/sysutils/u-boot-rpi/files/patch-common_cmd__elf.c?view=co
> https://svnweb.freebsd.org/ports/head/sysutils/u-boot-rpi/files/patch-common_cmd__boot.c?view=co
>
> The last version of u-boot I know for sure those two patches apply
> cleanly to was 2016.01; I haven't looked at any u-boot releases since
> then.

I haven't dropped them in u-boot-master, since it pulls from my tree
where these patches are applied to allow wider sharing of a
known-good-for-freebsd tree.

Warner



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