π
<-
Chat plein-écran
[^]

How to enter the startX of the linux(for the nspire)?

C, C++, ASM...

How to enter the startX of the linux(for the nspire)?

Message non lude panyaolin123 » 13 Aoû 2014, 05:03

archives_voir.php?id=9218&short=1
I found a topic here,but failed to run the linux using the kernel and the rootfs.tar.bz2 in the topic.
How to solve it? And how to enter the startX ?
>-< Sorry for my poor english.
@Vogtinator
Fichiers joints
2014-08-13 12.17.51.jpg
Stuck in this place
2014-08-13 12.17.28.jpg
Stuck in this place
Avatar de l’utilisateur
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 24%
 
Messages: 26
Inscription: 25 Juil 2014, 16:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: How to enter the startX of the linux(for the nspire)?

Message non lude Lionel Debroux » 13 Aoû 2014, 07:27

The root fs was not found, indeed. Did you copy it to an external USB Mass Storage Device, with the appropriate partition layout, the appropriate filesystem type, and is your config file for linuxloader referencing the correct partition on the USB MSD ?
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: How to enter the startX of the linux(for the nspire)?

Message non lude panyaolin123 » 13 Aoû 2014, 09:26

Lionel Debroux a écrit:The root fs was not found, indeed. Did you copy it to an external USB Mass Storage Device, with the appropriate partition layout, the appropriate filesystem type, and is your config file for linuxloader referencing the correct partition on the USB MSD ?

But I use the Linux(On the computer) formatting the USB Mass Storage Device.And the USB MSD's format is "ext".
And I unrar the rootf.tar.bz2 ,copy them to the USB MSD under the Linux on the computer.
Fichiers joints
IMG_20140813_162133.jpg
Here is the all file in my nspire.Need another any files?
Avatar de l’utilisateur
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 24%
 
Messages: 26
Inscription: 25 Juil 2014, 16:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: How to enter the startX of the linux(for the nspire)?

Message non lude panyaolin123 » 13 Aoû 2014, 09:33

Lionel Debroux a écrit:The root fs was not found, indeed. Did you copy it to an external USB Mass Storage Device, with the appropriate partition layout, the appropriate filesystem type, and is your config file for linuxloader referencing the correct partition on the USB MSD ?

What is the "config file for linuxloader"? Is it needed?
And I only copy all files in the rootfs.tar.bz2( I found here:http://tiplanet.org/forum/archives_voir.php?id=9218&short=1)to the USB MSD ,is this enough?
Also ,I have modified the launch.ll2 in the nspire,and transfer the zImage.tns (in here:http://tiplanet.org/forum/archives_voir.php?id=9218&short=1) to my nspire. Need another files?
Avatar de l’utilisateur
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 24%
 
Messages: 26
Inscription: 25 Juil 2014, 16:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: How to enter the startX of the linux(for the nspire)?

Message non lude panyaolin123 » 13 Aoû 2014, 09:37

Lionel Debroux a écrit:The root fs was not found, indeed. Did you copy it to an external USB Mass Storage Device, with the appropriate partition layout, the appropriate filesystem type, and is your config file for linuxloader referencing the correct partition on the USB MSD ?


Could you tell the methods more detail?
If I succeed with your help ,I will write a tutorial,translate it,and release it in the cncalc forum(www.cncalc.org).
Avatar de l’utilisateur
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 24%
 
Messages: 26
Inscription: 25 Juil 2014, 16:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: How to enter the startX of the linux(for the nspire)?

Message non lude Vogtinator » 13 Aoû 2014, 14:37

In this post I refer to your MSD, USB storage, whatever, as /dev/sda. If you don't replace it with the correct path, you'll lose most of your data, so be careful.
Create a partition layout (MSDOS partitions) like
Code: Tout sélectionner
/dev/sda1 512MB ext4
/dev/sda2 256MB swap

, the partitions can be larger, of course, download http://tiplanet.org/nspire-linux-builds/xconfig_20130410_1921.ext2.bz2 and http://tiplanet.org/nspire-linux-builds/zImage_expanded_20130211_0728.tns, copy the zImage as "zImage.tns" on your calc, edit the .ll2 file appropriately:
Code: Tout sélectionner
kernel linux/zImage.tns
cmdline root=/dev/sda1 rootdelay=10
boot

Then execute "bunzip2 xconfig_20130410_1921.ext2.bz2" and "dd if=xconfig_20130410_1921.ext2 of=/dev/sda1", "sync" and it should boot if you plug the MSD onto your calc as soon as you can see the "waiting for root device to appear" message (or similar, you'll recognize). This way you won't have any issues with the filesystem or permissions, as everything is stored in the disk image. If you want to run my old "linucx.zip" image with gnuplot, you just have to "unzip -o -K -X linucx.zip -d <mountpoint>", although that's untested.

Good luck!
Avatar de l’utilisateur
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 1.6%
 
Messages: 217
Inscription: 29 Mar 2014, 15:55
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: How to enter the startX of the linux(for the nspire)?

Message non lude panyaolin123 » 14 Aoû 2014, 01:34

Vogtinator a écrit:In this post I refer to your MSD, USB storage, whatever, as /dev/sda. If you don't replace it with the correct path, you'll lose most of your data, so be careful.
Create a partition layout (MSDOS partitions) like
Code: Tout sélectionner
/dev/sda1 512MB ext4
/dev/sda2 256MB swap

, the partitions can be larger, of course, download http://tiplanet.org/nspire-linux-builds/xconfig_20130410_1921.ext2.bz2 and http://tiplanet.org/nspire-linux-builds/zImage_expanded_20130211_0728.tns, copy the zImage as "zImage.tns" on your calc, edit the .ll2 file appropriately:
Code: Tout sélectionner
kernel linux/zImage.tns
cmdline root=/dev/sda1 rootdelay=10
boot

Then execute "bunzip2 xconfig_20130410_1921.ext2.bz2" and "dd if=xconfig_20130410_1921.ext2 of=/dev/sda1", "sync" and it should boot if you plug the MSD onto your calc as soon as you can see the "waiting for root device to appear" message (or similar, you'll recognize). This way you won't have any issues with the filesystem or permissions, as everything is stored in the disk image. If you want to run my old "linucx.zip" image with gnuplot, you just have to "unzip -o -K -X linucx.zip -d <mountpoint>", although that's untested.

Good luck!

I knew why it failed! In my launch.ll2 ,I write the rootdelay but missed the "="!
now I enter the linux succeesfully,but failed to startx. Why?
Fichiers joints
IMG_20140814_082539.jpg
Avatar de l’utilisateur
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 24%
 
Messages: 26
Inscription: 25 Juil 2014, 16:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: How to enter the startX of the linux(for the nspire)?

Message non lude Vogtinator » 14 Aoû 2014, 01:41

Which combination of root and kernel are you currently testing?
Avatar de l’utilisateur
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 1.6%
 
Messages: 217
Inscription: 29 Mar 2014, 15:55
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: How to enter the startX of the linux(for the nspire)?

Message non lude panyaolin123 » 14 Aoû 2014, 02:16

Vogtinator a écrit:Which combination of root and kernel are you currently testing?

Could you offer me a new zImage and rootfs?(For enter the startx.)
Avatar de l’utilisateur
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 24%
 
Messages: 26
Inscription: 25 Juil 2014, 16:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: How to enter the startX of the linux(for the nspire)?

Message non lude panyaolin123 » 14 Aoû 2014, 06:23

Vogtinator a écrit:Which combination of root and kernel are you currently testing?

All from here:http://tiplanet.org/forum/archives_voir.php?id=9218&short=1
It is your topic.

Could you offer me a new zImage and rootfs?(For enter the startx.) ?

By the way,does the linux support the touchpad(in the startx) ?

Lionel Debroux a écrit:The root fs was not found, indeed. Did you copy it to an external USB Mass Storage Device, with the appropriate partition layout, the appropriate filesystem type, and is your config file for linuxloader referencing the correct partition on the USB MSD ?

Now I enter the “startx” command,the linux stuck in this place.
Fichiers joints
IMG_20140814_082539.jpg
Avatar de l’utilisateur
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 24%
 
Messages: 26
Inscription: 25 Juil 2014, 16:06
Genre: Homme
Calculatrice(s):
MyCalcs profile

Suivante

Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 29 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Offre de test des nouveautés de rentrée 2024 par Casio. Enseignant(e), reçois gratuitement 1 exemplaire, à ton choix, de la Graph Light ou bien de la Graph Math+
14€ remboursés par Casio sur l'achat de ta calculatrice Graph 35 d'ici le 31 Octobre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 90+E d'ici le 31 Décembre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 25 d'ici le 31 Décembre 2024
8€ remboursés par Casio sur l'achat de ta calculatrice Graph Math+ d'ici le 31 Octobre 2024
Reprise de ton ancienne fx-92 Collège ou Graph 25/35/90 à 3€ peu importe son état. Même non fonctionnelle et donc invendable, même ancienne Graph 35 non conforme aux programmes (pas de Python), même ancienne Graph 25/35 inutilisable aux examens (pas de mode examen) et donc invendable. Etiquette de retour fournie, pas de frais de port à payer.
3€ remboursés par Casio sur l'achat de ta calculatrice fx-92 Collège d'ici le 30 Septembre 2024
5€ de remise immédiate sur l'achat de ta calculatrice TI-83 Premium CE Edition Python chez les revendeurs partenaires
4€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced Edition Python chez les revendeurs partenaires
3€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced chez les revendeurs partenaires
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234567891011121314
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1589 utilisateurs:
>1571 invités
>13 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)
cron