Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tj@ubuntu:~/ubuntu-11.10-r5-minimal-armel$ sudo ./setup_sdcard.sh --mmc /dev/mmcblk0 --uboot beagle_xm
- I see...
- fdisk -l:
- Disk /dev/sda: 320.1 GB, 320072933376 bytes
- Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
- mount:
- /dev/loop0 on / type ext3 (rw,commit=600)
- devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
- /dev/sda3 on /host type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
- /dev/mmcblk0p2 on /media/rootfs type ext3 (rw,nosuid,nodev,uhelper=udisks)
- /dev/mmcblk0p1 on /media/boot type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
- Are you 100% sure, on selecting [/dev/mmcblk0] (y/n)? y
- Downloading Device's Bootloader
- -----------------------------
- 64 bytes from apache2-zoo.heat.dreamhost.com (69.163.149.169): icmp_req=1 ttl=54 time=101 ms
- 2012-02-15 00:27:16 URL:http://rcn-ee.net/deb/tools/latest/bootloader [4652/4652] -> "/tmp/tmp.dVrdU7rskN/dl/bootloader" [1]
- 2012-02-15 00:27:17 URL:http://rcn-ee.net/deb/tools/beagleboard/MLO-beagleboard-v2011.12-r1 [44104/44104] -> "/tmp/tmp.dVrdU7rskN/dl/MLO-beagleboard-v2011.12-r1" [1]
- SPL Bootloader: MLO-beagleboard-v2011.12-r1
- 2012-02-15 00:27:19 URL:http://rcn-ee.net/deb/tools/beagleboard/u-boot-beagleboard-v2011.12-r1.img [330372/330372] -> "/tmp/tmp.dVrdU7rskN/dl/u-boot-beagleboard-v2011.12-r1.img" [1]
- UBOOT Bootloader: u-boot-beagleboard-v2011.12-r1.img
- Unmounting Partitions
- -----------------------------
- Using fdisk to create BOOT Partition
- -----------------------------
- WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
- switch off the mode (with command 'c').
- WARNING: cylinders as display units are deprecated. Use command 'u' to
- change units to sectors.
- Command (m for help): Command action
- e extended
- p primary partition (1-4)
- Partition number (1-4, default 1): First cylinder (1-973968, default 1): Last cylinder, +cylinders or +size{K,M,G} (1-973968, default 973968):
- Command (m for help): Selected partition 1
- Hex code (type L to list codes): Changed system type of partition 1 to e (W95 FAT16 (LBA))
- Command (m for help):
- Disk /dev/mmcblk0: 31.9 GB, 31914983424 bytes
- 4 heads, 16 sectors/track, 973968 cylinders
- Units = cylinders of 64 * 512 = 32768 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x000940f9
- Device Boot Start End Blocks Id System
- /dev/mmcblk0p1 1 2049 65560 e W95 FAT16 (LBA)
- Command (m for help): The partition table has been altered!
- Calling ioctl() to re-read partition table.
- WARNING: If you have created or modified any DOS 6.x
- partitions, please see the fdisk manual page for additional
- information.
- Syncing disks.
- Setting Boot Partition's Boot Flag
- -----------------------------
- Creating rootfs ext4 Partition
- -----------------------------
- Formating Boot Partition
- -----------------------------
- mkfs.vfat 3.0.9 (31 Jan 2010)
- Formating rootfs Partition as ext4
- -----------------------------
- mke2fs 1.41.14 (22-Dec-2010)
- Filesystem label=rootfs
- OS type: Linux
- Block size=4096 (log=2)
- Fragment size=4096 (log=2)
- Stride=0 blocks, Stripe width=0 blocks
- 1945888 inodes, 7775352 blocks
- 388767 blocks (5.00%) reserved for the super user
- First data block=0
- Maximum filesystem blocks=4294967296
- 238 block groups
- 32768 blocks per group, 32768 fragments per group
- 8176 inodes per group
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
- 4096000
- Writing inode tables: done
- Creating journal (32768 blocks): done
- Writing superblocks and filesystem accounting information: done
- This filesystem will be automatically checked every 28 mounts or
- 180 days, whichever comes first. Use tune2fs -c or -i to override.
- Populating Boot Partition
- -----------------------------
- `/tmp/tmp.dVrdU7rskN/dl/MLO-beagleboard-v2011.12-r1' -> `/tmp/tmp.dVrdU7rskN/disk/MLO'
- `/tmp/tmp.dVrdU7rskN/dl/u-boot-beagleboard-v2011.12-r1.img' -> `/tmp/tmp.dVrdU7rskN/disk/u-boot.img'
- Using mkimage to create uImage
- -----------------------------
- Image Name: 3.2.3-x4
- Created: Wed Feb 15 00:28:09 2012
- Image Type: ARM Linux Kernel Image (uncompressed)
- Data Size: 3014464 Bytes = 2943.81 kB = 2.87 MB
- Load Address: 80008000
- Entry Point: 80008000
- Using mkimage to create uInitrd
- -----------------------------
- Image Name: initramfs
- Created: Wed Feb 15 00:28:10 2012
- Image Type: ARM Linux RAMDisk Image (uncompressed)
- Data Size: 3087289 Bytes = 3014.93 kB = 2.94 MB
- Load Address: 00000000
- Entry Point: 00000000
- Copying uEnv.txt based boot scripts to Boot Partition
- -----------------------------
- `/tmp/tmp.dVrdU7rskN/bootscripts/normal.cmd' -> `/tmp/tmp.dVrdU7rskN/disk/uEnv.txt'
- bootfile=uImage
- bootinitrd=uInitrd
- address_uimage=0x80300000
- address_uinitrd=0x81600000
- vram=12MB
- console=ttyO2,115200n8
- defaultdisplay=dvi
- dvimode=1280x720MR-16@60
- mmcroot=/dev/mmcblk0p2 ro
- mmcrootfstype=ext4 rootwait fixrtc
- optargs=console=tty0
- mmc_load_uimage=fatload mmc 0:1 ${address_uimage} ${bootfile}
- mmc_load_uinitrd=fatload mmc 0:1 ${address_uinitrd} ${bootinitrd}
- mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} buddy2=${buddy2} camera=${camera} vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}
- loaduimage=run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm ${address_uimage} ${address_uinitrd}
- -----------------------------
- `/tmp/tmp.dVrdU7rskN/readme.txt' -> `/tmp/tmp.dVrdU7rskN/disk/tools/readme.txt'
- `/tmp/tmp.dVrdU7rskN/update_boot_files.sh' -> `/tmp/tmp.dVrdU7rskN/disk/tools/update_boot_files.sh'
- `/tmp/tmp.dVrdU7rskN/minimal_xfce.sh' -> `/tmp/tmp.dVrdU7rskN/disk/tools/minimal_xfce.sh'
- `/tmp/tmp.dVrdU7rskN/get_chrome.sh' -> `/tmp/tmp.dVrdU7rskN/disk/tools/get_chrome.sh'
- Finished populating Boot Partition
- -----------------------------
- Populating rootfs Partition
- Please be patient, this may take a few minutes, as its transfering a lot of files..
- -----------------------------
- 383MB 0:00:11 [34.6MB/s] [================================================================================================>] 100%
- Transfer of Base Rootfs Complete, syncing to disk
- -----------------------------
- Ubuntu: with no eth cable connected it can take up to 2 mins to login, removing upstart sleep call
- -----------------------------
- Ubuntu: to unfix: sudo sed -i -e 's:#sleep 40:sleep 40:g' /etc/init/failsafe.conf
- Ubuntu: to unfix: sudo sed -i -e 's:#sleep 59:sleep 59:g' /etc/init/failsafe.conf
- -----------------------------
- Finished populating rootfs Partition
- -----------------------------
- setup_sdcard.sh script complete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement