Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Heads up: TI OMAP3 and AM335x switched to FDT



On Fri, 1 Nov 2019 09:08:43 -0300 (ADT), Jared McNeill
<jmcneill%invisible.ca@localhost> wrote:

> I've removed the BEAGLEBOARD, BEAGLEBOARDXM, and BEAGLEBONE kernels
> in -current as these SoCs are now supported by the GENERIC kernel.
> Make sure you use a recent mainline U-Boot, preferably one new enough
> to support UEFI (they are in pkgsrc).

I've built "sysutils/u-boot-beagleboneblack" and installed it (manually
with 'dd' rather than through installboot):


U-Boot SPL 2018.11 (Dec 02 2019 - 14:36:08 -0600)
Trying to boot from MMC2
Loading Environment from FAT... OK


U-Boot 2018.11nb4 (Dec 02 2019 - 14:36:08 -0600)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... OK
Net:   cpsw, usb_ether
Press SPACE to abort autoboot in 5 seconds
=>


It seems to work OK, but I'm still not sure how to boot in the new regime.

I have an already-populated filesystem with my preferred layout so I'm not
going to use "armv7.img.gz".

For reference, I have it uncompressed and associated with a vnd on
another host.  What part of the contents of the MSDOS partition do I
need to copy to my existing FAT partition?

Since the new UBoot actually saves environment changes (the old one I'd
been using seemed to treat 'env save' as a NOP), what environment tweaks
do I need to make?

How do I arrange for net-booting?  Watching its default attempts to
netboot (since it couldn't figure out anything on my SD card), I see
file names that it expects, but don't know what the file should be.

I've managed to get it to load "bootarm.efi" and it seems to present the
usual NetBSD bootloader, but when it tries to boot, I just get an
endless stream of:

[...]
CACHE: Misaligned operation at range [9c701028, 9c7010e8]
CACHE: Misaligned operation at range [9c701028, 9c7010e8]
CACHE: Misaligned operation at range [9c701028, 9c7010e8]
CACHE: Misaligned operation at range [9c701028, 9c7010e8]
CACHE: Misaligned operation at range [9c701028, 9c7010e8]
[...]

until I press the reset button.

Thanks.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index