π
<-

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

C, C++, ASM...

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

Unread postby panyaolin123 » 14 Aug 2014, 08:07

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!

Now I enter the startx successfully.But any key pressed is invalid. Can't it use the touchpad?
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 » 14 Aug 2014, 09:46

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!

Also,I need a zImage and rootfs that can surf the Internet(use the wireless) :D .Can you offer me ?
And it is very kind of you if you can tell me the steps to surf the Internet. :)
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, 13:18

If you want to use WLAN, you need a self-compiled kernel and the suitable firmware. (http://hackspire.unsads.com/wiki/index.php/Linux#Kernel and https://github.com/Vogtinator/nspire-li ... el/.config)
The older root filesystem with gnuplot has some config utilities like "iw" compiled in.
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 » 15 Aug 2014, 01:17

Vogtinator wrote:If you want to use WLAN, you need a self-compiled kernel and the suitable firmware. (http://hackspire.unsads.com/wiki/index.php/Linux#Kernel and https://github.com/Vogtinator/nspire-li ... el/.config)
The older root filesystem with gnuplot has some config utilities like "iw" compiled in.

But I don't know how to compile the kernel. Can you teach me?
And now,I haven't entered the startx successfully.I stuck here(look the picture). The keyboard and the touchpad didnt work? In a word, now I cant use the startx ,what is wrong?
(When entered the startx, can the touchpad work normally? Or should I write a device for the touchpad? )
You do not have the required permissions to view the files attached to this post.
Last edited by panyaolin123 on 15 Aug 2014, 01:28, edited 1 time in total.
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 » 15 Aug 2014, 01:24

But I don't know how to compile the kernel. Can you teach me?

The information given by the first link and some posts on the original omnimaga linux thread (I can't find now) should be enough, it's not hard.
And now,I haven't entered the startx successfully.I stuck here(look the picture). The keyboard and the touchpad didnt work? In a word, now I cant use the startx ,what is wrong?

It's probably that the keyboard driver is missing from the root filesystem, try various versions, earlier versions are more likely to work.
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 » 15 Aug 2014, 01:32

Vogtinator wrote:
But I don't know how to compile the kernel. Can you teach me?

The information given by the first link and some posts on the original omnimaga linux thread (I can't find now) should be enough, it's not hard.
And now,I haven't entered the startx successfully.I stuck here(look the picture). The keyboard and the touchpad didnt work? In a word, now I cant use the startx ,what is wrong?

It's probably that the keyboard driver is missing from the root filesystem, try various versions, earlier versions are more likely to work.

All right,I will go to omnimaga to search. But do you sure the earlier versions wont cause error?
And do you have a compiled zImage (can use the WLAN)? Send it online and give me the download address,OK?

I think you can send the compiled zImage to the github .
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 » 15 Aug 2014, 01:37

All right,I will go to omnimaga to search. But do you sure the earlier versions wont cause error?

No, I'm not sure, you'll have to try some until you find one that works.

And do you have a compiled zImage (can use the WLAN)? Send it online and give me the download address,OK?

That depends on your type of WLAN module. You need to compile the kernel yourself to support it.
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 » 15 Aug 2014, 01:41

Vogtinator wrote:
All right,I will go to omnimaga to search. But do you sure the earlier versions wont cause error?

No, I'm not sure, you'll have to try some until you find one that works.

And do you have a compiled zImage (can use the WLAN)? Send it online and give me the download address,OK?

That depends on your type of WLAN module. You need to compile the kernel yourself to support it.

But my root fs is downloaded from tiplanet,and it's the latest version ,does it possible lost the device file ?

Should I change my root fs,or the.zImage ,or both of them?
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 » 15 Aug 2014, 01:47

Your zImage seems to work fine, as you could enter "startx" :P
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 » 15 Aug 2014, 01:51

Vogtinator wrote:Your zImage seems to work fine, as you could enter "startx" :P

OK,I will try to change the root fs.Thank you very much!
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

PreviousNext

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: ClaudeBot [spider] and 6 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.
1509 utilisateurs:
>1490 invités
>13 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)