Jump to content


Photo

Ideas For Linux Based Dashboard


  • Please log in to reply
5 replies to this topic

#1 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 28 May 2012 - 02:14 PM

There hasn't been a linux based dashboard for the xbox as Linux lacks a crucial capability - the ability to launch a XBE. Once cromwell/xromwell loads the kernel , there is no way back and it's full linux OS from that point onwards. Or is there? tongue.gif

I have an idea which is based on PBL Metoo source and this thread for PBL-Should be-fixed and libxbox's xbox_reboot_fast function and finally openxdk's sample XBE launcher:

Just like xboxhdm2.2 which is a 2-stage hdd preparation process, we split the dashboard into 2 stages: Stage 1 which is a free-xdk based XBE (compiled and built on linux) and cannibalized parts from PBL - Yes the references thread confirmed that PBL is a free-xdk app. Stage 2 is regular xromwell.xbe which launches linux kernel. If a linux process wants to launch a XBE, it will write the XBE's path in this format to a text file in scratch partition \Device\Harddisk0\Partition3
CODE

\Device\Harddisk0\Partition2\ = C:\
\Device\Harddisk0\Partition1\ = E:\
\Device\Harddisk0\Partition6\ = F:\
\Device\Harddisk0\Partition7\ = G:\

and then execute a xbox_reboot_fast function via libxbox. Control will pass to Stage1.xbe since that is the effective dashboard file via either the softmod or the bios for chipped consoles. The magic occurs in Stage1.xbe. If Stage1.xbe detects the scratch file on partition3, it will read the file contents and use xLaunchXBE from openxdk's sample to launch the XBE and thus achieving the end effect of Linux 'launching' a regular XBE!. If no scratch file is present, Stage1.xbe will pass control to xrromwell.xbe which launches linux kernel as per normal.

This is an idea at the moment - I hope I can find the time to test out the idea soon.

Edited by ldotsfan, 28 May 2012 - 02:16 PM.


#2 xboxmods2977

xboxmods2977

    X-S Freak

  • Members
  • PipPipPipPipPip
  • 1,156 posts
  • Xbox Version:v1.0
  • 360 version:none

Posted 28 May 2012 - 04:29 PM

Interesting...
I like it.

The only issue you may run into is getting HD resolutions working in Linux, while having the same compatibility that non-Linux dashes have regarding HD resolutions. In dashes like Unleash X and XBMC, they "just work", no matter what encoder you have (with exception of Xcalibur+VGA bios).

Xbox Linux and VGA bioses do not play nice together, at least in my trials on my Focus encoder + VGA monitor combination. The results have always been unsavory.

Edited by xboxmods2977, 28 May 2012 - 04:29 PM.


#3 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 30 May 2012 - 04:50 PM

Linux uses mode 1+3 for VGA, see this thread.

binfmt_misc support for linux kernel will enable treating of XBE files as a linux executable. I got started on the coding and after messing around,ended up with a xbe but it's not finished. I will continue when I can find the time.

#4 xboxmods2977

xboxmods2977

    X-S Freak

  • Members
  • PipPipPipPipPip
  • 1,156 posts
  • Xbox Version:v1.0
  • 360 version:none

Posted 02 June 2012 - 03:52 PM

QUOTE(ldotsfan @ May 30 2012, 04:50 PM) View Post

Linux uses mode 1+3 for VGA, see this thread.
Oh! See, I knew about the mode, but I may have missed that thread.
I'm off to experiment now. biggrin.gif

Edited by xboxmods2977, 02 June 2012 - 03:53 PM.


#5 worldwhore3

worldwhore3

    X-S Senior Member

  • Members
  • PipPip
  • 260 posts
  • Location:michigan
  • Interests:softmods, xbox linux,
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 28 June 2012 - 07:42 AM

so does it work?


can we run android on xbox yet? with wired controller instead of mouse?


no?



ok. well, then, is it cool looking, functional, and have a future in terms of potential application development (unlike xdsl)?



do we have a crew of people working on this, or is this just limited to your (ldot) personal work? if it's just all on you, are you capable of expanding and incorporating a team of developers?

#6 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 07 July 2012 - 03:58 AM

The WIP source+binary

I'm reminded of the importance of releasing the source. xboxhdm1.9 and chimp26 devs never got to releasing their source and I practically reverse engineered their work with the hints from their previous posts. On the other hand, devs like rmenhal, xman954 and ozpaul_b released their code. There is value in posting an outline of an idea so long sufficient details are provided that somebody could take that idea and expand on it.

Maybe somebody will expand on this work someday if they see the value.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users