OMAP4 broken with r277215

Ian Lepore ian at freebsd.org
Fri Jan 16 19:10:55 UTC 2015


On Fri, 2015-01-16 at 11:48 -0700, Scott Ellis wrote:
> I'm having problems booting systems built with r277215 on my
> OMAP4 boards. I haven't tried any other ARM boards.
> 
> Systems built with r277214 are fine.
> 
> r277215 committed some changes to loader for Xen multiboot support.
> 
> I'm pretty sure the panic is coming from uboot_vm_translate() in
> sys/boot/uboot/lib/copy.c
> 
> Rebuilding with some debugging now to track down the caller, but
> maybe someone has already fixed this.
> 
> The boot hangs like this
> 
> U-Boot SPL 2014.10 (Jan 16 2015 - 07:01:57)
> OMAP4430 ES2.3
> reading u-boot.img
> reading u-boot.img
> 
> 
> U-Boot 2014.10 (Jan 16 2015 - 07:01:57)
> 
> CPU  : OMAP4430 ES2.3
> Board: duovero
> I2C:   ready
> DRAM:  1 GiB
> WARNING: Caches not enabled
> MMC:   OMAP SD/MMC: 0
> reading u-boot.env
> 
> ** Unable to read "u-boot.env" from mmc0:1 **
> Using default environment
> 
> Net:   smc911x-0
> Warning: smc911x-0 using MAC address from net device
> 
> reading uEnv.txt
> ** Unable to read file uEnv.txt **
> Hit any key to stop autoboot:  0
> Booting from: mmc 0 ubldr
> reading ubldr
> 262362 bytes read in 26 ms (9.6 MiB/s)
> ## Starting application at 0x88000074 ...
> Consoles: U-Boot console
> Compatible U-Boot API signature found @bef562a8
> 
> FreeBSD/armv6 U-Boot loader, Revision 1.2
> (root at fbsd, Fri Jan 16 11:59:13 EST 2015)
> 
> DRAM: 1024MB
> MMC Device 1 not found
> MMC Device 1 not found
> Number of U-Boot devices: 2
> U-Boot env: loaderdev='mmc 0'
> Found U-Boot device: disk
>   Checking unit=0 slice=<auto> partition=<auto>... good.
> /
> /boot/kernel/kernel data=0x618688+0x43978 syms=[0x4+0x5f030+0x4+0x5a3d5]
> panic: Address offset 0x40000001 bigger than size 0x40000000
> 
> --> Press a key on the console to reboot <--

Yeah, it's broken.  A fix will be committed after a make universe
completes, I'll attach the patch so you can get working again until
then.

-- Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubldrfix.diff
Type: text/x-patch
Size: 1433 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150116/58a4ca56/attachment.bin>


More information about the freebsd-arm mailing list