Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 18:24:58 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 14 15 [16] 17 18 ... 63   Go Down
  Print  
Author Topic: Calling all Linux Kernel developers! -  (Read 41287 times) Bookmark and Share
0 Members and 2 Guests are viewing this topic.
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 09:24:00
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1916

Total Post Ratings: +215

View Profile WWW
« Reply #225 on: 13 November, 2012, 20:59:44 »
0

The loader relocates it to the right place before launching the OS.
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
Eeems
THE GAME
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 05:46:11
Date Registered: 14 March, 2009, 03:32:57
Location: Edmonton, Alberta
Posts: 5103


Total Post Ratings: +231

View Profile WWW
« Reply #226 on: 13 November, 2012, 21:03:54 »
0

Quote
The loader relocates it to the right place before launching the OS.
Ah ok, so I'm assuming it handles protecting it's relocating code so that it isn't written over during the relocation process. I haven't actually looked at the code myself yet. I probably should take a peek at what I can before asking questions Tongue
Logged

ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 07:59:35
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 773

Total Post Ratings: +152

View Profile
« Reply #227 on: 13 November, 2012, 23:23:26 »
0

Nice FAQ tangrs Smiley

Quote
Can this run like KDE, Gnome, Xfce, dwm, Fluxbox, [insert favourite window manager]?
Yes but it'll probably suck. Try not to forget that this is a 120MHz device with 64MB of RAM.

Isn't there any window manager for suited embedded environments?

Quote
Why doesn't this run on the emulator?
I'm not sure. I think some co-processor instructions that Linux requires but not the stock OS weren't implemented in the emulator.

You should contact Goplat about this if not already done, he will surely have an idea on this.

Quote
But seriously, don't email me about this (unless it is a very specific/technical question) because I don't have time to help you step by step.

Then anyone who have configured successfully wireless network should post hints here to help you enrich the FAQ.

The loader relocates it to the right place before launching the OS.

There's no relocator in tangrs's loader, I suppose the Linux kernel relocates itself.

tangrs, do you plan to make the loader replace the TI-Nspire OS instead of using its realloc() function? I suppose this would leave more RAM to Linux.
BTW what is the roadmap of all this? Smiley This could help to gather developers to help you.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Vogtinator
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 17 June, 2013, 22:51:43
Date Registered: 08 November, 2012, 23:17:13
Location: Germany
Posts: 456


Total Post Ratings: +24

View Profile
« Reply #228 on: 13 November, 2012, 23:32:03 »
+4

X and directfb are working!
Now we're one step closer to minecraft Cheesy
Note: I can't login on SSH because of an german umlaut in my password and I haven't changed the keyboard-layout yet.
Note2: I don't know where that segfault came from, maybe too much ctrl-c? ;-)
<a href="http://www.youtube.com/watch?v=qVGnYGbH7UI" target="_blank">http://www.youtube.com/watch?v=qVGnYGbH7UI</a>
Logged
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 15:36:44
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1736


Total Post Ratings: +180

View Profile WWW
« Reply #229 on: 13 November, 2012, 23:41:44 »
0

Very nice work Vogtinator Smiley
Logged

noobnonin
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 16 June, 2013, 21:38:55
Date Registered: 03 November, 2012, 18:45:21
Posts: 107

Total Post Ratings: -11

View Profile
« Reply #230 on: 14 November, 2012, 01:09:24 »
0

rhomicubo, can you please tell me what kind of hub you are using? thank you
Logged
Rhombicuboctahedron
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 04:39:46
Date Registered: 11 October, 2012, 04:11:39
Location: Texas
Posts: 437


Total Post Ratings: +36

View Profile
« Reply #231 on: 14 November, 2012, 01:22:59 »
0

rhomicubo, can you please tell me what kind of hub you are using? thank you
http://www.rocketfishproducts.com/products/computer-accessories/RFNBSKHB.html
bought it at bestbuy
« Last Edit: 14 November, 2012, 01:23:17 by Rhombicuboctahedron » Logged

willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 June, 2013, 05:14:49
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2651


Total Post Ratings: +65

View Profile
« Reply #232 on: 14 November, 2012, 01:47:36 »
0

Don't count on straight minecraft. Maybe one of the clones.

I would recommend something tiny, like nano-X for the WM. It lists as being 100 kb on 32 bit systems. It also says that it should run on any 32 bit system with a kernel framebuffer (which we now have Cheesy )
Logged

adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: 14 June, 2013, 17:56:38
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1202


Total Post Ratings: +186

View Profile WWW
« Reply #233 on: 14 November, 2012, 01:58:39 »
0

Amazing, Vogtinator !

Edit : can you share your files ? Cheesy
« Last Edit: 14 November, 2012, 02:04:16 by adriweb » Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
tangrs
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: Yesterday at 00:06:05
Date Registered: 13 July, 2011, 04:32:25
Location: Australia
Posts: 190

Topic starter
Total Post Ratings: +89

View Profile WWW
« Reply #234 on: 14 November, 2012, 04:04:55 »
0

There's no relocator in tangrs's loader, I suppose the Linux kernel relocates itself.

Yep, this is pretty much it.

We first load Linux into memory no different than loading anything into memory. I.e. we follow the rules and use malloc, etc... Right up until we actually boot it, the bootloader follows the OS's rules and is capable of exiting without having corrupted anything. After we boot and transfer control to Linux, Linux will relocate itself.

This is a much cleaner approach than say, loading directly into RAM since we can potentially overwrite OS data structures/code while loading.

X and directfb are working!
Now we're one step closer to minecraft Cheesy
Note: I can't login on SSH because of an german umlaut in my password and I haven't changed the keyboard-layout yet.
Note2: I don't know where that segfault came from, maybe too much ctrl-c? ;-)
<a href="http://www.youtube.com/watch?v=qVGnYGbH7UI" target="_blank">http://www.youtube.com/watch?v=qVGnYGbH7UI</a>

Nice work! I better start catching up and getting my own X to work Smiley
« Last Edit: 14 November, 2012, 04:07:59 by tangrs » Logged
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 June, 2013, 05:14:49
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2651


Total Post Ratings: +65

View Profile
« Reply #235 on: 14 November, 2012, 09:55:03 »
0

this is becoming really impressive.

You should try compiling gnuplot. It allows real-time rotating 3D graphs! It also uses, from what I understand, relatively few libs to do so. (libjpeg, among others)
Logged

Vogtinator
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 17 June, 2013, 22:51:43
Date Registered: 08 November, 2012, 23:17:13
Location: Germany
Posts: 456


Total Post Ratings: +24

View Profile
« Reply #236 on: 14 November, 2012, 19:06:36 »
+1

Quote
You should try compiling gnuplot.
Although you can get a better performance with the built-in from TI, here you go:
http://imgur.com/a/TlFSf

Here's a snapshot of both files (zImage.tns and rootfs.tar.bz2 (smaller and tar)):
http://ritter-vogt.dyndns.biz/lowlevel/rootfs.tar.bz2 (29 MiB)
http://ritter-vogt.dyndns.biz/lowlevel/zImage.tns (2 MiB)
If your firewall blocks dyndns, I'll upload it to dropbox.
Use `tar -xvf rootfs.tar.bz2 -C <mountpoint of usb-stick>`!
Then, if you don't want to wait at boottime, you can rename everything within /etc/init.d (e.g. `mv S85tinyhttpd tinyhttpd`).

Contents of rootfs.tar:
modular x.org (Needs some time to start)
links
Some directfb tests and examples
dhcp client (Preconfigured for eth0)
ethtool
wget (not tested)
blackbox window manager (runs perfectly, to run it create /etc/X11/xinit/xinitrc)
xterm, xcalc, xclock, twm
gnuplot (warning: slow as hell!; you have to `export GNUPLOT_DRIVER_DIR=/bin` first; I was to lazy to search, I symlinked Cheesy)
mplayer (not tested)
fbv picture viewer
e2fsprogs (not tested)
ntfs3g (not tested)
fdisk (not tested)
hdparm (128 KiB/s read from USB :-/ )
minicom (not tested)
iw, wpa_supplicant, wireless tools (not tested, needs own kernel to be built)
tinyhttpd, openssh
bash
rsyslog
Not working "reset" cmd
nano
vim (not tested)
No locale support (but keyboard layouts)
Crysis

Of course you can also use debian or openSUSE armv5.

Kernel:
devtmpfs support
cdc_ether for networking
Swap support
Framebuffer with a dirty hack you don't wanna see (but it works and it didn't destroy my calc)
USB HID support
Sunplus Wireless Desktop support
No support for modules
No Initrd support (as it'd be useless without modules)
« Last Edit: 14 November, 2012, 20:42:25 by Vogtinator » Logged
noobnonin
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 16 June, 2013, 21:38:55
Date Registered: 03 November, 2012, 18:45:21
Posts: 107

Total Post Ratings: -11

View Profile
« Reply #237 on: 14 November, 2012, 21:18:07 »
0

i made it.... great job tangrs,

but how did u opened lynx? o.O
regards,
Logged
Vogtinator
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 17 June, 2013, 22:51:43
Date Registered: 08 November, 2012, 23:17:13
Location: Germany
Posts: 456


Total Post Ratings: +24

View Profile
« Reply #238 on: 14 November, 2012, 21:27:14 »
0

There's no lynx in the image.
You can use links, it's nearly the same.
To open a page, press "g", to quit "q".

Edit: How did you made it? Was it a mistake or an hardware error?
« Last Edit: 14 November, 2012, 23:23:24 by Vogtinator » Logged
noobnonin
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 16 June, 2013, 21:38:55
Date Registered: 03 November, 2012, 18:45:21
Posts: 107

Total Post Ratings: -11

View Profile
« Reply #239 on: 15 November, 2012, 00:01:50 »
0


hardware error vogt, my hub wasnt compatible, btw vogt your error is just that: in the bootscript you dont load the initrd, so you just have to modify the bootscrip with a text editor and add the initrd
« Last Edit: 15 November, 2012, 00:02:32 by noobnonin » Logged
Pages: 1 ... 14 15 [16] 17 18 ... 63   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.961 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.