On Mon, May 23, 2016 at 01:58:44PM -0600, Aaron Bieber wrote:
> Simply flashing the miniroot image onto an SD card and booting will
> result in:
> 
> reading uEnv.txt
> 162 bytes read in 3 ms (52.7 KiB/s)
> Importing environment from mmc0 ...
> Running uenvcmd ...
> reading bsdrd.umg
> 10883512 bytes read in 507 ms (20.5 MiB/s)
> ## Booting kernel from Legacy Image at 82800000 ...
>    Image Name:   boot
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    10883448 Bytes = 10.4 MiB
>    Load Address: 80300000
>    Entry Point:  80300000
>    Verifying Checksum ... OK
>    Loading Kernel Image ... Image too large: increase
>    CONFIG_SYS_BOOTM_LEN
> Must RESET board to recover
> resetting ...
> 
> U-Boot SPL 2015.10 (Feb 01 2016 - 13:59:48)
> OMAP4460 ES1.1

The miniroots are built with u-boot 2016.05 why do you have
this version?  There is no uEnv.txt only a boot.scr

Can you send the output of printenv and try

setenv loadaddr 0x82800000 ;
run findfdt ;
load mmc ${mmcdev}:1 ${loadaddr} bsd.umg ;
load mmc ${mmcdev}:1 ${fdt_addr_r} ${fdtfile} ;
bootm ${loadaddr} - ${fdt_addr_r} ;

> 
> I was able to get the image to boot by bumping CONFIG_SYS_BOOTM_LEN, but
> then I run into this:
> 
> Available disks are: sd0.
> Which disk is the root disk? ('?' for details) [sd0] 
> Disk: sd0       geometry: 1936/255/63 [31116288 Sectors]
> Offset: 0       Signature: 0xAA55
>             Starting         Ending         LBA Info:
>  #: id      C   H   S -      C   H   S [       start:        size ]
> -------------------------------------------------------------------------------
> *0: 0C      0   1   1 -      1 254  63 [          63:       32067 ]
> Win95 FAT32L
>  1: 00      0   0   0 -      0   0   0 [           0:           0 ]
>  unused      
>  2: 00      0   0   0 -      0   0   0 [           0:           0 ]
>  unused      
>  3: A6      0   1   2 -      1 254  63 [          64:       32066 ]
>  OpenBSD     
> Use (W)hole disk$ or (E)dit the MBR? [whole] 
> Creating a msdos partition and an OpenBSD partition for rest of
> sd0...done.
> /dev/rsd0i: 32668 sectors in 8167 FAT16 clusters (2048 bytes/cluster)
> bps=512 spc=4 res=1 nft=2 rde=512 sec=32768 mid=0xf8 spf=32 spt=63
> hds=255 hid=64
> The auto-allocated layout for sd0 is:
> #                size           offset  fstype [fsize bsize  cpg]
>   a:           480.5M            32832  4.2BSD   2048 16384    1 # /
>   b:           880.9M          1016832    swap                   
>   c:         15193.5M                0  unused                   
>   d:           760.7M          2821024  4.2BSD   2048 16384    1 # /tmp
>   e:          1121.2M          4379008  4.2BSD   2048 16384    1 # /var
>   f:          1300.5M          6675264  4.2BSD   2048 16384    1 # /usr
>   g:           752.3M          9338624  4.2BSD   2048 16384    1 #
>   /usr/X11R6
>   h:          2848.9M         10879296  4.2BSD   2048 16384    1 #
>   /usr/local
>   i:            16.0M               64   MSDOS                   
>   j:          1184.2M         16713920  4.2BSD   2048 16384    1 #
>   /usr/src
>   k:          1620.4M         19139136  4.2BSD   2048 16384    1 #
>   /usr/obj
>   l:          4227.8M         22457664  4.2BSD   2048 16384    1 # /home
> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] 
> newfs: reduced number of fragments per cylinder group from 61496 to
> 61248 to enlarge last cylinder group
> /dev/rsd0a: 480.5MB in 984000 sectors of 512 bytes
> 5 cylinder groups of 119.62MB, 7656 blocks, 15360 inodes each
> newfs: wtfs: write error on block 32: Input/output error
> newfs: fc637acb15c90d77.l: No such file or directory
> newfs: fc637acb15c90d77.d: No such file or directory
> newfs: fc637acb15c90d77.f: No such file or directory
> newfs: fc637acb15c90d77.g: No such file or directory
> newfs: fc637acb15c90d77.h: No such file or directory
> newfs: fc637acb15c90d77.k: No such file or directory
> newfs: fc637acb15c90d77.j: No such file or directory
> newfs: fc637acb15c90d77.e: No such file or directory
> mount_ffs: fc637acb15c90d77.a on /mnt: No such file or directory
> 
> mount_ffs: fc637acb15c90d77.l on /mnt/home: No such file or directory
> 
> mount_ffs: fc637acb15c90d77.d on /mnt/tmp: No such file or directory
> 
> mount_ffs: fc637acb15c90d77.f on /mnt/usr: No such file or directory
> 
> mount_ffs: fc637acb15c90d77.g on /mnt/usr/X11R6: No such file or
> directory
> 
> mount_ffs: fc637acb15c90d77.h on /mnt/usr/local: No such file or
> directory
> 
> mount_ffs: fc637acb15c90d77.k on /mnt/usr/obj: No such file or directory
> 
> mount_ffs: fc637acb15c90d77.j on /mnt/usr/src: No such file or directory
> 
> mount_ffs: fc637acb15c90d77.e on /mnt/var: No such file or directory
> 
> 
> Anyone have any suggestions?
> 

Reply via email to