///
// I. 按步骤安装
///
fpxshyy@fpxshyy-laptop:~/ti-dvsdk_omapl138-evm_4_01_00_09$ cd bi
bin/ biospsp_01_30_01/ biosutils_1_02_02/
fpxshyy@fpxshyy-laptop:~/ti-dvsdk_omapl138-evm_4_01_00_09$ cd bin/
fpxshyy@fpxshyy-laptop:~/ti-dvsdk_omapl138-evm_4_01_00_09/bin$ ls
c6748.htm setup-host-check.sh setup-targetfs-nfs.sh
common.sh setup.htm setup-tftp.sh
mksdboot.sh setup-minicom.sh setup-uboot-env.sh
README.boot.scr setup-package-install.sh top_omapl138_evm.png
fpxshyy@fpxshyy-laptop:~/ti-dvsdk_omapl138-evm_4_01_00_09/bin$ sudo ./mksdboot.sh --device /dev/sdb --sdk /home/fpxshyy/ti-dvsdk_omapl138-evm_4_01_00_09/
************************************************************
* THIS WILL DELETE ALL THE DATA ON /dev/sdb *
* *
* WARNING! Make sure your computer does not go *
* in to idle mode while this script is *
* running. The script will complete, *
* but your SD card may be corrupted. *
* *
* Press <ENTER> to confirm.... *
************************************************************
unmounting device '/dev/sdb1'
记录了1024+0 的读入
记录了1024+0 的写出
1048576字节(1.0 MB)已复制,0.303601 秒,3.5 MB/秒
Disk /dev/sdb doesn't contain a valid partition table
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdb: 474 cylinders, 255 heads, 63 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/sdb: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdb1 20 29 10 80325 b W95 FAT32
/dev/sdb2 30 473 444 3566430 83 Linux
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
Formating /dev/sdb1 ...
Formating /dev/sdb2 ...
mke2fs 1.41.11 (14-Mar-2010)
./mksdboot.sh: line 138: mkimage:找不到命令
Failed to execute mkimage to create boot.scr
Execute 'sudo apt-get install uboot-mkimage' to install the package
fpxshyy@fpxshyy-laptop:~/ti-dvsdk_omapl138-evm_4_01_00_09/bin$ sudo apt-get install uboot-mkimage
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
uboot-mkimage
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 211 个软件包未被升级。
需要下载 9,876B 的软件包。
解压缩后会消耗掉 57.3kB 的额外空间。
获取:1 http://cn.archive.ubuntu.com/ubuntu/ lucid/main uboot-mkimage 0.4build1 [9,876B]
下载 9,876B,耗时 2秒 (3,444B/s)
选中了曾被取消选择的软件包 uboot-mkimage。
(正在读取数据库 ... 系统当前总共安装有 129993 个文件和目录。)
正在解压缩 uboot-mkimage (从 .../uboot-mkimage_0.4build1_i386.deb) ...
正在设置 uboot-mkimage (0.4build1) ...
fpxshyy@fpxshyy-laptop:~/ti-dvsdk_omapl138-evm_4_01_00_09/bin$ sudo ./mksdboot.sh --device /dev/sdb --sdk /home/fpxshyy/ti-dvsdk_omapl138-evm_4_01_00_09/
************************************************************
* THIS WILL DELETE ALL THE DATA ON /dev/sdb *
* *
* WARNING! Make sure your computer does not go *
* in to idle mode while this script is *
* running. The script will complete, *
* but your SD card may be corrupted. *
* *
* Press <ENTER> to confirm.... *
************************************************************
unmounting device '/dev/sdb1'
unmounting device '/dev/sdb2'
记录了1024+0 的读入
记录了1024+0 的写出
1048576字节(1.0 MB)已复制,0.296357 秒,3.5 MB/秒
Disk /dev/sdb doesn't contain a valid partition table
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdb: 474 cylinders, 255 heads, 63 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/sdb: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdb1 20 29 10 80325 b W95 FAT32
/dev/sdb2 30 473 444 3566430 83 Linux
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
Formating /dev/sdb1 ...
Formating /dev/sdb2 ...
mke2fs 1.41.11 (14-Mar-2010)
Image Name: Execute uImage
Created: Mon May 6 17:17:26 2013
Image Type: ARM Linux Script (uncompressed)
Data Size: 184 Bytes = 0.18 kB = 0.00 MB
Load Address: 0x00000000
Entry Point: 0x00000000
Contents:
Image 0: 176 Bytes = 0 kB = 0 MB
Copying uImage/boot.scr on /dev/sdb1
Executing uflash tool to write u-boot.bin
OMAPL138
U-Boot Size 172099
First partition starts at 321300(164505600)
U-Boot Magic Number : a1aced66
U-Boot Entry Point : c1080000
U-Boot Number of Blocks : 00000151
U-Boot Starting Block : 00000075
Load U-Boot Address : c1080000
Writing U-Boot Signature
Writing U-Boot
Done...
Extracting filesystem on /dev/sdb2 ...
Creating matrix-gui-e symbolic link...done
unmounting /dev/sdb2
completed!
fpxshyy@fpxshyy-laptop:~/ti-dvsdk_omapl138-evm_4_01_00_09/bin$