ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7260 _ Debian Linux on a 2GB SD card

To:
Subject: Re: [ts-7000] TS-7260 _ Debian Linux on a 2GB SD card
From: santiago reyes <>
Date: Wed, 4 Nov 2009 19:21:28 -0200


1- I think the steps you follows are right. The first partition of the SD card is a binary to boot. So you see that.

1- Creo que los pasos que seguistes estan bien. En la primera particiÃn de la SD card esta un binario para arrancar. Es por eso que ves eso.

2- Is posible.
I would tray to explain in english. If you do not understand is a mini how to in spanish at the bottom.
This commands are execute in a host pc.
Where your opertating system load the SD carda can be diferent. If you do not know where is mounted use the command dmesg.
First you must download the sdimage.dd.bzip, unzip it buy using the following command $ bunzip2 sdimage.dd.bzip
Second copy the image $ dd if=sdimage.dd of=/dev/mmcblk
Then download the init image and install in the first partition of your sd card $ dd if=ts7260-fb-default of=/dev/mmcblkp1
To resize the third partition use fdisk /dev/mmcblk, delete the partition an then make a new one.
Finally execute tsbootrom-update. You can find you mac buy using ifconfig or the following command in the board
$mac=`ifconfig eth0 | grep HWaddr | cut -d' ' -f11`
and then
$./tsbootrom-update -s -m $mac

2- Es posible:

How to make a booteable SD:
1- Se inicia dandole formato ext2 a la tarjeta sd.
ÂÂÂ 1.1- Ejecutamos mkfs.ext2 /dev/mmcblk
ÂÂÂ 1.2- De no poderse debido a que esta montado ejecutar umount /dev/mmcblk* (Desmonta todas las particiones)

2- Copiamos la imÃgen que nos brindan en la pÃgina (http://www.embeddedarm.com/software/arm-linux-fastboot-ts7300.php).
Â2.1- Desomprimos la imÃgen bunzip2 sdimage.dd.bz2
2.2- Ejecutamos dd if=sdimage.dd of=/dev/mmcblk

3- Copiamos la imagen del disco de arranque.
ÂÂÂ 3.1- Ejecutamos dd if=ts7260-fb-default of=/dev/mmcblkp1

4- Para redimencionar la tercera particiÃn realizamos la siguiente secuencia.
ÂÂÂ 4.1- fdisk /dev/mmcblk
ÂÂÂ 4.2- Tecleamos p, nos muestra las particiones de ls SD.
ÂÂÂ 4.3- Para borrar la tercera particiÃn digitamos d.
ÂÂÂ 4.4- Nos va a pedir el nÃmero de particiÃn, ingresamos 3.
ÂÂÂ 4.5- Volvemos a digitar p, vemos que ya no tenemos la particiÃn 3.
ÂÂÂ 4.6- Para crear la particiÃn tecleamos n.
ÂÂÂ 4.7- Luego digitamos p para que sea una particiÃn primaria.
ÂÂÂ 4.8- Nos va a dar a elejir cual es el primer cilindro, dejamos el primero.
ÂÂÂ 4.9- Seguido nos pide el Ãltimo elegimos el Ãltimo cilindro.
ÂÂÂ 4.10- Digitamos p, para ver las particiones de ser la que deseamos pasamos al siguiente paso sino volver al paso 3.
ÂÂÂ 4.11- Tecleamos w, para grabar las particiones en la SD.
5- Por Ãltimo instalaremos el tsbootrom-update.
ÂÂÂ 5.1- Copiar tsbootrom-update a una SD card, montarla y copiar tsbootrom-update en algÃn directorio (ej.: /tmp)
ÂÂÂ 5.2- Nos ubicamos en el directorio donde copiamos tsbootrom-update.
ÂÂÂ 5.3- Ejectamos ifconfig, y copiamos en nÃmero de MAC. Ellos dan la siguiente opciÃn mac=`ifconfig eth0 | grep HWaddr | cut -d' ' -f11` (la cual tiene en la placa que usamos daba un error al buscar la mac).
ÂÂÂ 5.4- Ejecutamos ./tsbootrom-update -s -m MAC (MAC la copiamos en el paso anterior), sino ellos recomiendar tsbootrom-update -s -m $mac (esto no se ejecuta; se deberia hacer ./tsbootrom-update -s -m $mac).

3- Yes its posible, beyond 4GB is a SD HC which is a different technology, i tray to boot form a SD HC but i could not.

3- Es posible, despuÃs de los 4 GB pasan a ser SD HC que es una tecnologÃa distinta, intente bootera de una SD HC pero no he podido.

Espero que sea de utilidad

Saludos
Santiago

2009/11/4 Ismael <>
Â

Hi,

I have the TS-7260 board. Up to now, I have booted Debian Linux from the SD-512-7300 that I bought with the board. The SD-512-7300 has only 512MB, and I need to work with larger SD cards from.

So I want to create a 2GB SD card like the SD-512-7300.

Description SD-512-7300 component: TS-7300 bootable 512 MB SD card pre-installed with Debian Linux for ARM and full tool chain (supports TS-7260, TS-7300, TS-7400) (requires OP-SDSOCKET option to be checked)

I have done the following steps without obtaining a good result:

1. Download the fast boot SD Card image: "sdimage.dd.bz2" to my laptop.

2. Extract the new SD Card image file in my laptop:

:/home/ismael# bunzip2 sdimage.dd.bz2

3. Connect a SD reader to my laptop. Using an SD Card reader and the "dd" utility, copy the image to the disc device of the 2GB SD Card:

:/home/ismael# dd if=sdimage.dd of=/dev/sdc1
487936+0 registros de entrada
487936+0 registros de salida
249823232 bytes (250 MB) copiados, 12,3076 s, 20,3 MB/s

4. But if I list the files that are in the SD card:

:/home/ismael# ls /media/disk/
?%&#9492;(?%&#9492;
?
Â?%&#9492;&#9617;?%&#9492;.&#9557;?%
&#9578;.?
&#9578;?%&#9492;&#9578;?%&#9492;.&#9578;?%
&#9617;?%&#9492;&#9557;?%&#9492;.&#9492;?%
&#8319;?%&#9492;??%&#9492;.??%
&#9565;?%&#9492;&#9565;?%&#9492;.&#9565;?%
?
?.?
?.?
?
?
?.&#9562; Æ
?.?
??%&#9492;??%&#9492;.??%
?.?
?.&#9492;
?
?.?
?
ETC
ETC
.......

QUESTION 1: The files that I have in the 2GB SD card have any sense for you? Am I doing something wrong?

QUESTION 2: How can I install the Debian Linux on a 2GB SD card in order to boot from this new SD card? Please, if it is possible, explain me step by step.

QUESTION 3: Can I work with SD cards larger than 512MB? Are there any limit in the size of the SD cards?

Thanks,
Ismael




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU