π
<-

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)?

Unread postby panyaolin123 » 13 Aug 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
You do not have the required permissions to view the files attached to this post.
User avatar
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 24%
 
Posts: 26
Joined: 25 Jul 2014, 16:06
Gender: Male
Calculator(s):
MyCalcs profile

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

Unread postby Lionel Debroux » 13 Aug 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.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.3%
 
Posts: 6869
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

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

Unread postby panyaolin123 » 13 Aug 2014, 09:26

Lionel Debroux wrote: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.
You do not have the required permissions to view the files attached to this post.
User avatar
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 24%
 
Posts: 26
Joined: 25 Jul 2014, 16:06
Gender: Male
Calculator(s):
MyCalcs profile

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

Unread postby panyaolin123 » 13 Aug 2014, 09:33

Lionel Debroux wrote: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?
User avatar
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 24%
 
Posts: 26
Joined: 25 Jul 2014, 16:06
Gender: Male
Calculator(s):
MyCalcs profile

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

Unread postby panyaolin123 » 13 Aug 2014, 09:37

Lionel Debroux wrote: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).
User avatar
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 24%
 
Posts: 26
Joined: 25 Jul 2014, 16:06
Gender: Male
Calculator(s):
MyCalcs profile

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

Unread postby Vogtinator » 13 Aug 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: Select all
/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: Select all
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!
User avatar
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

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

Unread postby panyaolin123 » 14 Aug 2014, 01:34

Vogtinator wrote: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: Select all
/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: Select all
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?
You do not have the required permissions to view the files attached to this post.
User avatar
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 24%
 
Posts: 26
Joined: 25 Jul 2014, 16:06
Gender: Male
Calculator(s):
MyCalcs profile

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

Unread postby Vogtinator » 14 Aug 2014, 01:41

Which combination of root and kernel are you currently testing?
User avatar
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

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

Unread postby panyaolin123 » 14 Aug 2014, 02:16

Vogtinator wrote:Which combination of root and kernel are you currently testing?

Could you offer me a new zImage and rootfs?(For enter the startx.)
User avatar
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 24%
 
Posts: 26
Joined: 25 Jul 2014, 16:06
Gender: Male
Calculator(s):
MyCalcs profile

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

Unread postby panyaolin123 » 14 Aug 2014, 06:23

Vogtinator wrote: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 wrote: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.
You do not have the required permissions to view the files attached to this post.
User avatar
panyaolin123
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 24%
 
Posts: 26
Joined: 25 Jul 2014, 16:06
Gender: Male
Calculator(s):
MyCalcs profile

Next

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: ClaudeBot [spider] and 9 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"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.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1532 utilisateurs:
>1508 invités
>18 membres
>6 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)