Date: Mon, 2 Oct 2017 12:50:35 -0700 From: Russell Haley <russ.haley@gmail.com> To: Nomad Esst <noname.esst@yahoo.com> Cc: Warner Losh <imp@bsdimp.com>, Nomad Esst via freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: FreeBSD 11 on Banana-Pi M3 A83t Message-ID: <CABx9NuTS_mbDmqD4B7t63F8yUPSBiF-wnSiFyL0B7a8Y6kZcnA@mail.gmail.com> In-Reply-To: <1994395790.1688580.1506925528882@mail.yahoo.com> References: <312104517.10213240.1506511560284.ref@mail.yahoo.com> <312104517.10213240.1506511560284@mail.yahoo.com> <20170927161819.6e36cd53a76f9e75b782a3b3@bidouilliste.com> <1825224273.10951257.1506590142784@mail.yahoo.com> <CANCZdfqivGknN7wkcS7rSJz06m6hMNUyQ5TVK%2BrHahBsi3OuDA@mail.gmail.com> <1994395790.1688580.1506925528882@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 1, 2017 at 11:25 PM, Nomad Esst via freebsd-arm <freebsd-arm@freebsd.org> wrote: > Hello Emmanuel > Thanks for your previous answers. I was trying to update the u-boot, but = I couldn't do the job. As you said > > "You could try updating u-boot to use the u-boot-master port (whichcurren= tly track the 2017.07 version of U-Boot)." > Please tell me how can I do this job? How can I update u-boot. > Thanks in advance. * First, I want to point out that if your u-boot is on the emmc, then emmc support in u-boot "works fine". The output (from u-boot!) is complaining about an MibCard with 2048 bytes of something, which would be your ram. That means u-boot SPL loaded and a default value for the hardware settings may be incorrect. So, if I were looking into this, I would pull ports from subversion and create a directory under my home directory. I would then go into the u-boot-bananapi2 port and examine the make file for details. I went ahead and looked at https://svnweb.freebsd.org/ports/head/sysutils/ (*note that svnweb pages the output. The page control is at the top of the screen and the u-boot ports are on the second page.) I opened the banana pi port and the makefile points to the u-boot-master makefile. In u-boot-master, the line that dictates the u-boot version pulled from Github is on line 67 UBOOT_VERSION?=3D 2017.07.00.1 Since we pull from Github.com, perhaps you can try a couple of things: - Remove the line altogether and build u-boot. That *should* just pull the head revision (good thing, bad thing? not sure). I am not sure how you will check what revision was pulled and built - Point it to a version that you know has the support you need If you were wanting to do a little more than update u-boot and hope, I would say you need to find the name of the board configuration directory and check the default settings. Das u-boot doesn't use DTS does it? It should be in the board specific source code if I had to guess. I looked briefly at the u-boot/board directory on Gituhub and I don't see any support for allwinner or bananna pi's but I don't know what I'm looking for. I can't run the config step here to look at the list of supported boards. If you run the configure script (or the make) and then look at boards.cfg (or something like that), it will tell you what support is available and point you to the right /board/ directory. You may also want to look at the linux-sunxi gitub repo as they have support for development boards that may not have made it back into u-boot head. Please if someone knows better, let me know cause I'm learning as I go! HTH, Russ > > > On Thursday, September 28, 2017 1:05 PM, Warner Losh <imp@bsdimp.com>= wrote: > > > > > On Thu, Sep 28, 2017 at 3:15 AM, Nomad Esst via freebsd-arm <freebsd-arm@= freebsd.org> wrote: > > Thank you EmmanuelI'm trying to install u-boot-master according to the in= struction mentioned in Fresh ports: > > #cd /usr/ports/sysutils/u-boot- master/ && make install clean > > But I don't have this directory! I tried to install it using pkg install: > > #pkg install sysutils/u-boot-master > > But I get this error: > > Updating FreeBSD repository catalogue...FreeBSD repository is up to date.= All repositories are up to date.pkg: No packages available to install match= ing 'sysutils/u-boot-master' have been found in the repositories > Please help me solve this. > Thanks in advance > > u-boot-master isn't a port that you install. It's just the place that you= update when you want to change the u-boot version. You'd have to change it= to point to the upstream version of u-boot rather than our repo, though, a= nd that might start to get tricky.... > Warner > On Wednesday, September 27, 2017 5:48 PM, Emmanuel Vadot <manu@bidoui= lliste.com> wrote: > > > On Wed, 27 Sep 2017 11:26:00 +0000 (UTC) > Nomad Esst via freebsd-arm <freebsd-arm@freebsd.org> wrote: > >> Hello allI have created an image using Crochet build tool for my BPi M3 = board. I have burnt it on it's on-board 4GB EMMC. When I try to boot the bo= ard, I get the following error: >> >> U-Boot SPL 2016.05 (Aug 13 2017 - 05:07:01)DRAM: 2048 MiBCard did not re= spond to voltage select!Could not determine boot source >> resetting ... >> What should I do? >> Thanks in advance. > > Our U-Boot is probably not recent enough to support the eMMC. A83T > support is not really great even in Linux or U-Boot. > > You could try updating u-boot to use the u-boot-master port (which > curently track the 2017.07 version of U-Boot). > > -- > Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org> > > > > ______________________________ _________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/ mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@ freebsd.org" > > > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuTS_mbDmqD4B7t63F8yUPSBiF-wnSiFyL0B7a8Y6kZcnA>