Notice: Trying to access array offset on value of type bool in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/scripts/details.php on line 649 FS#192 : [U-Boot] ext2fs_devread() read error - block (boot from SD)

OpenPandora Main OS

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Core
  • Operating System Release 1 (Zaxxon)
  • Severity Medium
  • Reported Version Hotfix 4
Attached to Project: OpenPandora Main OS
Opened by Joel Wheeler - 15.10.2010
Last edited by Michael Mrozek - 05.11.2010

FS#192 - [U-Boot] ext2fs_devread() read error - block (boot from SD)

[U-Boot] ext2fs_devread() read error - block Description: Formatted two different Transcend 8GB SD cards as EXT2 using both GParted and also with Mkfs.ext2, extracted pandora-rootfs.tar.bz2 to the root of the SD and added 'autoboot.txt' as described here: http://openpandora.org/firmware/README.txt This issue appears to be same as mentioned here, looks like a patch maybe required in drivers/mmc/omap3_mmc.c): http://lists.denx.de/pipermail/u-boot/2010-June/072198.html Output on boot : mmc1 is available reading autoboot.txt ** Unable to read "autoboot.txt" from mc1 0:1 ** Loading file "autoboot.txt" from mmc1 device 0:! (xxa1) 184 bytes read ** Executing plain script at 82000000 Loading file "/boot/uImage-2.6.27.46-omap1" from mmc device 0:1 (xxa1) ** ext2fs_devread() read error - block ** Unable to read "/boot/uImage-2.6.27.46-omap1" from mmc 0:1 ** ## Booting kernel from Legacy Image at 8030000 ... Image Name: Angstrom/2.6.27-pandora+r21+git4 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2325740 Bytes = 2.2 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! syntax error
   BootErr.jpg (281.7 KiB)
Closed by  Michael Mrozek
05.11.2010 00:46
Reason for closing:  Fixed
Additional comments about closing:  Already fixed.
Joel Wheeler commented on 15.10.2010 11:21
There's a typo in the second line of the output: Loading file "autoboot.txt from mmc1 device 0:1 (xxa1)
Joel Wheeler commented on 15.10.2010 11:36
Code from /fs/ext2/dev.c in u-boot-1.3.2.tar: if (ext2fs_block_dev_desc->block_read (ext2fs_block_dev_desc->dev, part_info.start + sector, block_len / SECTOR_SIZE, (unsigned long *) buf) != block_len / SECTOR_SIZE) { printf (" ** ext2fs_devread() read error - block\n"); return (0); } Hoping someone can tell me how this error translates to the boot issue I've been experiencing with two SD cards :)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing