RockPro64 with u-boot 2010.01

Bernd Walter ticso at cicely7.cicely.de
Tue Mar 3 17:28:15 UTC 2020


On Tue, Mar 03, 2020 at 05:58:22PM +0100, Klaus Küchemann wrote:
> 
> 
> > Am 03.03.2020 um 17:33 schrieb Emmanuel Vadot <manu at bidouilliste.com>:
> > 
> > On Tue, 3 Mar 2020 17:10:16 +0100
> > Klaus Küchemann <maciphone2 at googlemail.com> wrote:
> > 
> >> 
> >> 
> >>> Am 03.03.2020 um 14:19 schrieb Emmanuel Vadot <manu at bidouilliste.com>:
> >>> 
> >>> 
> >>> Hi Bernd,
> >>>> 
> >>> 
> >>> You need to update ATF (sysutils/atf-master) to the master
> >>> branch. They didn't released a new version which is why I didn't update
> >>> the u-boot ports to 2020.01 yet.
> >>> I hope that they release a version before the next u-boot release
> >>> (2020.04) otherwise I'll just update it to a snapshot that works.
> >>> Or you could locally patch with
> >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244491
> >>> 
> >>> I told phk@ that I won't include this patch in the source tree as
> >>> probably more code is required.
> >> 
> >> 
> >> After testing on other BSD(no issues when mounting SD-card-reader) and talking 
> >> with a dev , this seems to be a FreeBSD/aarch64-only - issue which has nothing 
> >> directly to do with ATF. While I didin`t yet test latest ATF-master under FreeBSD.
> >> But when I think of the many (cam) mount problems (e.g. vfs_mountroot) in src-head lately, I think that it has to be  checked what is really going wrong(afaik it?s not ATF directly) I do not know further  details about this.
> >> 
> >> Regards
> >> 
> >> Klaus
> >> 
> >> P.S: Confirmation: card reader also panics here
> > 
> > WTF are you talking about ? I'm talking about the boot issue that
> > Bernd have after updating u-boot in the ports tree.
> ..<WTF>.. yeah ! :-) 
> I am talking about Bernd`s cam-panic described in this thread  ???( or did I accidentally answer to the wrong thread)
> U-boot 2020.01 works including detecting 4Gig RAM on RockPro64 with FreeBSD ., with or without ATF-updates , but there`s KP(machine panics) if cardreader is plugged???
> So this seems to be a cam-issue ( see Bernd`s console output) ???.
> While I wrote that I DON`T know why it didn???t panic with Bernd`s 2019.10 ..

Ok - there are two likely unrelated issues.
First is that my self build u-boot 2020.01 didn't boot and your
build worked fine.

Then there is the USB card reader problem within FreeBSD,
which I hadn't when I booted the very same system with the
u-boot 2019.10, which I installed via package on my 12.1 amd64.
Maybe the 2G vs 4G RAM avoided triggering the bug - who knows.
I just mentioned it in the same thread since it happened to me after
using the newer u-boot (and therefor the full 4G RAM).

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-arm mailing list