In a non-bug related news...Last week we got some beagleboards in here to play around with. After been knee deep in u-boot work for quite some time, I noticed two pretty serious (for me at least) short-commings on the beagle's u-boot environment.
1) No command history...
2) When booting from the mmc/sd card, the Kernel can only boot off fat partitions...
Fortunately the first issue is just a configuration file fix. The second issue was also easy to fix but required some minor detective work. Checkout the u-boot-omap3 tree (Instructions here: http://elinux.org/BeagleBoard#U-Boot) and apply the patch below if you want to boot off ext2/ext3 partitions using ext2load, and you want command history.
Try it, you might like it...
@@ -520,9 +520,11 @@ unsigned char configure_mmc(mmc_card_data *mmc_card_cur)
unsigned long mmc_bread(int dev_num, unsigned long blknr, lbaint_t blkcnt,
omap_mmc_read_sect(blknr, (blkcnt * MMCSD_SECTOR_SIZE), &cur_card_data,
(unsigned long *) dst);
- return 1;
+ //return 1;
+ return blkcnt;
int mmc_legacy_init(int verbose)
@@ -530,6 +532,7 @@ int mmc_legacy_init(int verbose)
if (configure_mmc(&cur_card_data) != 1)
mmc_blk_dev.if_type = IF_TYPE_MMC;
mmc_blk_dev.part_type = PART_TYPE_DOS;
mmc_blk_dev.dev = 0;
@@ -202,6 +202,8 @@
#define V_PROMPT "OMAP3 beagleboard.org # "
#define CONFIG_SYS_LONGHELP /* undef to save memory */
#define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */
#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
Did I mention that the beagleboard is pretty neat? Nice work by those TI chaps...