I have a AM335x Starter Kit and download latest Linux SDK ver.05.06.00.00, got some problem.
williamtai@ubuntu:~$ cd ti-sdk-am335x-evm-05.06.00.00
williamtai@ubuntu:~/ti-sdk-am335x-evm-05.06.00.00$ cd bin
williamtai@ubuntu:~/ti-sdk-am335x-evm-05.06.00.00/bin$ sudo ./create-sdcard.sh
[sudo] password for williamtai:
################################################################################
This script will create a bootable SD card from custom or pre-built binaries.
The script must be run with root permissions and from the bin directory of
the SDK
Example:
$ sudo ./create-sdcard.sh
Formatting can be skipped if the SD card is already formatted and
partitioned properly.
################################################################################
Availible Drives to write images to:
# major minor size name
1: 8 16 3872256 sdb
Enter Device Number: 1
sdb was selected
Checking the device is unmounted
unmounted /dev/sdb1
unmounted /dev/sdb2
sdb1 sdb2 sdb3
72261 3791340
################################################################################
Detected device has 2 partitions already
Re-partitioning will allow the choice of 2 or 3 partitions
################################################################################
Would you like to re-partition the drive anyways [y/n] : y
Now partitioning sdb ...
################################################################################
Select 2 partitions if only need boot and rootfs (most users)
Select 3 partitions if need SDK & CCS on SD card. This is usually used
by device manufacturers with access to partition tarballs.
****WARNING**** continuing will erase all data on sdb
################################################################################
Number of partitions needed [2/3] : 2
Now partitioning sdb with 2 partitions...
################################################################################
Now making 2 partitions
################################################################################
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.594035 s, 1.8 MB/s
Disk /dev/sdb doesn't contain a valid partition table
DISK SIZE - 3965190144 bytes
Checking that no-one is using this disk right now ...
BLKRRPART: Device or resource busy
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
Use the --force flag to overrule all checks.
################################################################################
Partitioning Boot
################################################################################
mkfs.vfat 3.0.7 (24 Dec 2009)
################################################################################
Partitioning rootfs
################################################################################
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
237104 inodes, 947835 blocks
47391 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=973078528
29 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
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
################################################################################
Partitioning is now done
Continue to install filesystem or select 'n' to safe exit
**Warning** Continuing will erase files any files in the partitions
################################################################################
Would you like to continue? [y/n] : y
Mount the partitions
Emptying partitions
Syncing....
################################################################################
Choose file path to install from
1 ) Install pre-built images from SDK
2 ) Enter in custom boot and rootfs file paths
################################################################################
Choose now [1/2] : 1
Will now install from SDK pre-built images
now installing: ti-sdk-am335x-evm-05.06.00.00
################################################################################
Copying files now... will take minutes
################################################################################
Copying boot partition
MLO copied
u-boot.bin file not found
u-boot.img copied
uImage copied
Copying rootfs System partition
Written 100%
Syncing...
Un-mount the partitions
Remove created temp directories
Operation Finished
williamtai@ubuntu:~/ti-sdk-am335x-evm-05.06.00.00/bin$ cd ..
williamtai@ubuntu:~/ti-sdk-am335x-evm-05.06.00.00$ ls -l
total 871940
drwxr-sr-x 2 124 3204 4096 2013-02-01 18:11 bin
drwxr-sr-x 7 124 3204 4096 2012-12-17 14:11 board-support
drwxr-sr-x 3 124 3204 4096 2012-12-17 14:11 docs
drwxr-sr-x 10 124 3204 4096 2012-12-17 14:10 example-applications
drwxr-sr-x 2 124 3204 4096 2012-12-17 14:31 filesystem
-rwxr-xr-x 1 124 3204 892802569 2012-12-17 14:11 Graphics_SDK_setuplinux_4_08_00_01.bin
drwxr-sr-x 3 124 3204 4096 2012-12-17 14:11 host-tools
drwxr-sr-x 12 124 3204 4096 2013-01-31 19:01 linux-devkit
-rwxr-xr-x 1 124 3204 13670 2012-12-17 03:52 Makefile
-rwxr-xr-x 1 williamtai williamtai 971 2013-02-01 17:35 Rules.make
-rwxr-xr-x 1 124 3204 2475 2012-12-17 03:54 setup.sh
drwxr-xr-x 20 root root 4096 2013-02-01 17:35 targetNFS
williamtai@ubuntu:~/ti-sdk-am335x-evm-05.06.00.00$ minicom -w
Welcome to minicom 2.4
OPTIONS: I18n
Compiled on Jan 25 2010, 06:49:09.
Port /dev/ttyUSB1
Press CTRL-A Z for help on special keys
CCCCCCCC
CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.4 | VT102 | Offline
williamtai@ubuntu:~/ti-sdk-am335x-evm-05.06.00.00$ sudo ./setup.sh
[sudo] password for williamtai:
--------------------------------------------------------------------------------
TISDK setup script
This script will set up your development host for SDK development.
Parts of this script require administrator priviliges (sudo access).
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Verifying Linux host distribution
Ubuntu 10.04 LTS or Ubuntu 12.04 LTS is being used, continuing..
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This step will make sure you have the proper host support packages installed
using the following command: sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage autoconf automake
Note! This command requires you to have administrator priviliges (sudo access)
on your host.
Press return to continue
Reading package lists... Done
Building dependency tree
Reading state information... Done
xinetd is already the newest version.
tftpd is already the newest version.
nfs-kernel-server is already the newest version.
minicom is already the newest version.
build-essential is already the newest version.
libncurses5-dev is already the newest version.
uboot-mkimage is already the newest version.
autoconf is already the newest version.
automake is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 199 not upgraded.
Package verification and installation successfully completed
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
In which directory do you want to install the target filesystem?(if this directory does not exist it will be created)
[ /home/williamtai/ti-sdk-am335x-evm-05.06.00.00/targetNFS ]
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This step will extract the target filesystem to /home/williamtai/ti-sdk-am335x-evm-05.06.00.00/targetNFS
Note! This command requires you to have administrator priviliges (sudo access)
on your host.
Press return to continue
/home/williamtai/ti-sdk-am335x-evm-05.06.00.00/targetNFS already exists
(r) rename existing filesystem (o) overwrite existing filesystem (s) skip filesystem extraction
[r] o
Old /home/williamtai/ti-sdk-am335x-evm-05.06.00.00/targetNFS removed
Successfully extracted tisdk-rootfs-image-am335x-evm.tar.gz to /home/williamtai/ti-sdk-am335x-evm-05.06.00.00/targetNFS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This step will set up the SDK to install binaries in to:
/home/williamtai/ti-sdk-am335x-evm-05.06.00.00/targetNFS/home/root/am335x-evm
The files will be available from /home/root/am335x-evm on the target.
This setting can be changed later by editing Rules.make and changing the
EXEC_DIR or DESTDIR variable (depending on your SDK).
Press return to continue
Rules.make edited successfully..
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This step will export your target filesystem for NFS access.
Note! This command requires you to have administrator priviliges (sudo access)
on your host.
Press return to continue
/home/williamtai/ti-sdk-am335x-evm-05.06.00.00/targetNFS already NFS exported, skipping..
* Stopping NFS kernel daemon [ OK ]
* Unexporting directories for NFS kernel daemon... [ OK ]
* Exporting directories for NFS kernel daemon... [ OK ]
* Starting NFS kernel daemon [ OK ]
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Which directory do you want to be your tftp root directory?(if this directory does not exist it will be created for you)
[ /tftpboot ]
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This step will set up the tftp server in the /tftpboot directory.
Note! This command requires you to have administrator priviliges (sudo access)
on your host.
Press return to continue
/tftpboot already exists, not creating..
/tftpboot/uImage-am335x-evm.bin already exists. The existing installed file can be renamed and saved under the new name.
(r) rename (o) overwrite (s) skip copy
[r] o
Successfully overwritten uImage-am335x-evm.bin in tftp root directory /tftpboot
/etc/xinetd.d/tftp already exists..
/tftpboot already exported for TFTP, skipping..
Restarting tftp server
* Stopping internet superserver xinetd [ OK ]
* Starting internet superserver xinetd [ OK ]
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This step will set up minicom (serial communication application) for
SDK development
For boards that contain a USB-to-Serial converter on the board (BeagleBone),
the port used for minicom will be automatically detected. By default Ubuntu
will not recognize this device. Setup will add a udev rule to
/etc/udev/ so that from now on it will be recognized as soon as the board is
plugged in.
For other boards, the serial will defualt to /dev/ttyS0. Please update based
on your setup.
--------------------------------------------------------------------------------
NOTE: For boards with a built-in USB to Serial adapter please press
ENTER at the prompt below. The correct port will be determined
automatically at a later step. For all other boards select
the serial port that the board is connected to
Which serial port do you want to use with minicom?
[ /dev/ttyS0 ]
Copied existing /home/williamtai/.minirc.dfl to /home/williamtai/.minirc.dfl.old
Configuration saved to /home/williamtai/.minirc.dfl. You can change it further from inside
minicom, see the Software Development Guide for more information.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This step will set up the u-boot variables for booting the EVM.
Becuase the not all AM335x devices have a NAND, the u-boot variables will
be stored in uEnv.txt on the boot partition. U-boot will read this
file on boot.
Autodetected the following ip address of your host, correct it if necessary
[ 192.168.20.129 ]
Select Linux kernel location:
1: TFTP
2: SD card
[ 1 ] 1
Select root file system location:
1: NFS
2: SD card
[ 1 ] 1
Available kernel images in /tftproot:
uImage-am335x-evm.bin
Which kernel image do you want to boot from TFTP?
[ uImage-am335x-evm.bin ]
This SDK supports both the AM335x EVM and the BeagleBone/EVM-SK.
A BeagleBone/EVM-SK has been detected as attached to your host system
Are you wanting to configure u-boot for this device? An
answer of 'n' will configure u-boot for the AM335x EVM instead
(y/n) y
Copying uEnv.txt to boot partition...
Detecting connection to board...
--------------------------------------------------------------------------------
uEnv.text has been saved to the boot partition. uEnv.txt contains:
serverip=192.168.20.129
rootpath=/home/williamtai/ti-sdk-am335x-evm-05.06.00.00/targetNFS
bootfile=uImage-am335x-evm.bin
ip_method=dhcp
tftp_nfs_boot=echo Booting from network...; dhcp ${loadaddr} ${bootfile}; run netargs; bootm ${loadaddr}
uenvcmd=run tftp_nfs_boot
On the next boot, the BeagleBone will boot with these settings.
Would you like to restart now (y/n)?
[ y ]y
Welcome to minicom 2.4
OPTIONS: I18n
Compiled on Jan 25 2010, 06:49:09.
Port /dev/ttyUSB1
Press CTRL-A Z for help on special keys
Nothing more, it stop there.
I'm not sure the EVM board automatically restart successfully or not, but even turn the power off to restart manually still not working.
http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_the_SDK#Preparing_to_Develop_using_the_setup.sh_Script
and stop at step.4.