I've gotten an Embedded CLFS system running on my BeagleBoard-xM!
I made a public gist of the boot-up.

I'm still using the supplied U-Boot so I'm not using the automated "bootcmd", but that's shortly coming up on my list of things to fix (along with getting a few microSD cards). I've put my kernel (that was built before and uses no modules) in the first FAT partition on the microSD card and then created a 1GB ext3 partition as the 3rd partition, which is where my root file system lives. In order to boot I use the following U-Boot commands:
  • setenv console ttyO2,115200n8
  • mmc init ${mmcdev}
  • setenv mmcroot /dev/mmcblk0p3 rw
  • run loaduimage
  • run mmcboot

When booted, the system's only using about 8MB of RAM according to 'top', which isn't half bad. Granted, it's not doing anything useful yet, but that's a nice starting place. My system doesn't have networking yet, but that's next up on the to do list along with an SSH server.

In order to get this far, I've made some changes that aren't yet in the Embedded CLFS book. I've opened Trac tickets that document the issues and I'll be updating the book soon (hopefully this weekend).

Comments


Published

17 March 2011