Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2015 04:36:16 +0200
From:      "Sulev-Madis Silber (ketas)" <madis555@hot.ee>
To:        ticso@cicely.de
Cc:        freebsd-arm@freebsd.org, Bernd Walter <ticso@cicely7.cicely.de>, Hellmuth Michaelis <hm@hellmuth-michaelis.de>
Subject:   Re: beaglebone boot from eMMC
Message-ID:  <550A3620.7010007@hot.ee>
In-Reply-To: <20150318185656.GO53586@cicely7.cicely.de>
References:  <3DF08C65-20E3-4524-B0E1-C5C096AA0FE8@hellmuth-michaelis.de> <54BA6DB9-DC61-4A6F-B948-777BB9800F54@bocal.org> <A923E8B5-72DC-4C19-B5CA-7729C7E16A5C@hellmuth-michaelis.de> <20150312132739.GA28385@cicely7.cicely.de> <A3E0A638-450D-4B83-90F7-090D45FF4420@bsdimp.com> <3EF47A05-60B2-4BB0-8688-018E50CF7D4A@hellmuth-michaelis.de> <CAC67Hz_ssdAHoRFqC7VAR9_XvTchc5DNhKPY4=LstcMx3j9NXw@mail.gmail.com> <20150318185656.GO53586@cicely7.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
I boot BBB from eMMC. I align partitions to 4MB, create boot partition
with type 0x0c, size 4MB, that's also set to active. Put MLO,
u-boot.img, ubldr there. Then it all works.

There is known issue where bsdlabel fails. Maybe someone else has any
idea why it now fails. It started failing about the time when the
non-C/H/S partition aligning started working. It's gone after boot and
GEOM says invalid disklabel.
Workaround is that you create UFS directly into slice.

U-Boot should be from sysutils/u-boot-beaglebone

"CCC" is when AM335x SoC tries to boot from UART (serial), using XMODEM.
In BBB it does that if it can't load anything from either eMMC or SD.
It's also possible to reconfigure boot order using BOOT/LCD pins on BBB
headers (like, to put UART first). It's also reason why you should not
use those pins as I/O at boot time.
To boot from serial, install comms/lrzsz then run cu, then use ~C to
execute "dd if=MLO bs=1 skip=520 | lsx -k - && lsx -k u-boot.img". I
have that in easy shell script wrapper. dd is used to strip header for
serial boot. There is also proper headerless MLO/SPL in
sysutils/u-boot-beaglebone 's work/ dir after build (not installed), but
this could be easier.

But eMMC boot should work fine.



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