π
<-
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 23 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
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.
1422 utilisateurs:
>1403 invités
>14 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)