PhamThanhDat
Banned
bác có thể nói rõ hơn ở bước 2 (format SD-Card) cho em hiểu được ko? em đọc mà chẳng hiểu gì cả?STEP 0. Backup all of your data (including sd card).
STEP 1. Download the Kernel, etc.
zImage initrd haret.exe GPE BlueAngel Image startup.txt autorun
STEP 2. Format SD-Card
Become root and create 2 partitions on the SD-Card
The first partition is for the kernel, startup scripts and bootloader. The second is for the GPE image. One of 30MB (for kernel and bootloader) and another (or rest of SD) for the GPE image.
fdisk /dev/sda
This exmaple assumes that /dev/sda is your sd card on your host.
If you only found /dev/sda1 insted of sda, that means that the card is already formated and contains a partition, in this case you need to delete this partition and create new ones
fdisk /dev/sda1
Press p to list the partitions and its numbers
Press d to delete a partition
Press w to save and exit
Then start creating the partitons on /dev/sda1
Press n to create new partition
Press p to choose type primary
Press enter to default to create partition starting from first cylinder for the first one, or right after it for the second one
Enter size of the new partiton ex: +30M
The first partition you crete (for kernel and bootloader) must be of type that windows understands, like FAT16 or FAT32, or else the card would not be read by the device at all
Press t to change the partition type from "83 Linux" to "c FAT32"
Press w to save and exit
Format the Partitions
mkfs.vfat /dev/sda1
mkfs.ext3 /dev/sda2
(These two commands may differ for your system, they are only meant as an example)
Now mount those partitions.
mount -t vfat /dev/sda1 /mnt/sd0
mount -t ext3 /dev/sda2 /mnt/sd1
STEP 3. Copy kernel, etc onto first partition
Create a new directory in /mnt/sd0 called 'linux'. Copy zImage, initrd, startup and haret into the 'linux directory'
Create another directory in /mnt/sd0 called '2577'.
Copy autorun.exe into '2577'
STEP 4. Extract GPE into the EXT3 Partition
Change to /mnt/sd1 'cd /mnt/sd1'
Execute tar xjvpf <path-to-it>/gpe-ba.tar.bz2
DO NOT, as many intelligent people have done, just copy the archive onto the partition!
STEP 5. Change to /root and unmount
cd /
sync
umount /dev/sda1
umount /dev/sda2
STEP 6. Now boot linux by inserting the SD-Card into the BlueAngel. DONE!
If linux didn't load, and instead you get haret.exe program running and asking to enter a filename to load.. or you get a tux image and a progress bar and it stucks on that.
Remove the card and reset the device then re-insert the card and try again untill it loads
OPTIONAL
1. Be sure the BA is in the cradle and the cradle is connected to your usb port
2. On your host load the module usbnet
modprobe usbnet
3. configure your usb0 port ifconfig usb0 192.168.0.205
4. ssh to your ba ssh root@192.168.0.206 ''' with the password '''rootme'''
5. get your board id dmesg | grep -i "board id"
6. write it down.
có khó hiểu quá ko????
- các lệnh : "fdisk /dev/sda","fdisk /dev/sda1"...là đánh ở đâu? bác nên hướng dẫn rõ rõ hơn chút xíu đi, giống như bác đã hướng dẫn cho dòng Universal vậy đó, chứ tự nhiên vô bước Format SD (mà cài được hay ko là ăn thua ở bước này) bác đưa lên các dòng lệnh "fdisk /dev/sda"...mà em chẳng biết type các lệnh đó ở đâu, chạy từ file gì nữa!
- ở gần cuối (Optinal) bác nói là "Be sure the BA is in the cradle and the cradle is connected to your usb port" mà trong khi đó các bước trên có thấy nói gì tới việc cắm con BA này vào cradle đâu?
bác nên nói rõ hơn nhé bác, em khoái cái linux này lắm, muốn up liền mà đọc ko hiểu, còn thắc mắc nhiều quá! mong bác trả lời sớm sớm cho em nhá, thấy bác up được nên em nôn dữ lắm, cám ơn bác nhiều hen, em ủng hộ bác dữ lắm đó!