XeLL Updates

Ask/Talk about XeLL in here
chriss179

Re: XeLL Updates

Post by chriss179 » Tue Jan 03, 2012 1:37 am

Dunno if i should ask here or make a seperate thread on this one. Sorry if in the wrong place. But my problem's as follows. I'm trying to figure out how to run xell reloaded from dashlaunch (2.29) xell launcher without including a xell.bin with xell launcher.

the problem is i want the harddrive or usb stick containing xell launcher to work in both the RGH and JTAG consoles.

In jtags you rename xell-2f.bin to updxell.bin and let it update, then xell launcher will launch xell from flash no problem.

So is there a way for RGH to run xell from flash? All i get is a black screen when launching the xell launcher with xell-ggggggg.bin

I could ofcourse write xell-2f.bin to flash, but i would lose the ability to power on with eject and run xell.....??

Anyways, i hope there is a way. as of yet. I hate to have 2 copies of xell launcher on disk for the sake of jtags and rgh's.

[edit] i see i'm overlooking the fact that jtags need xell-2f.bin too. So i'm really making a fuss over nothing. Problem solved...
Last edited by chriss179 on Tue Jan 03, 2012 1:40 am, edited 1 time in total.

sk1080

Re: XeLL Updates

Post by sk1080 » Tue Jan 03, 2012 6:53 am

Sorry, this isn't the right forum to ask about RGH stuff...

chriss179

Re: XeLL Updates

Post by chriss179 » Tue Jan 03, 2012 12:09 pm

It's a thread on the "development" of xell reloaded tho. being able to run xell from flash on this and not on that console might be a development issue? But like i said. There wasn't a problem in the first place. Only aesthetic.

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

XeLL Updates

Post by tuxuser » Tue Jan 03, 2012 12:36 pm

Its fine to ask stuff about the Reset Glitch Hack and XeLL development.. but its not allowed to ask stuff about the (hacked) M$ Kernel.. so questions about any xex applications dont belong in libxenon.org!
I have no idea what I am doing but atleast I am trying

covenant

Re: XeLL Updates

Post by covenant » Wed Jan 04, 2012 2:28 pm

I have been playing with Xell and booting via tftp for the last few days (in between sorting out MAX232 problems!). I notice that the latest binary you (tuxuser) posted has:

Code: Select all

source/lv2/tftp/tftp.c: maxtries = 1;
so that one dropped packet leads to the boot device search loop restarting. This means that a single dropped packet will stop booting via tftp.

I tried recompiling from the xell-testing branch but this fails on an unrelated error (probably something you are working on) and so hand edited tftp.c from your stable xell tree to set maxtries=100. This works well and, although I seem to drop 3 or 4 packets, linux boots happily on my RGH slim.

Attached is the version of Xell I compiled if anyone else is interested in playing with it. Because the full kboot.conf support is not present in the stable branch of Xell, I have hacked main.c so that it expects the tftp server to be on 192.168.1.125 and to serve the file zImage.xenon.
   
Attachments

[The extension has been deactivated and can no longer be displayed.]


sk1080

Re: XeLL Updates

Post by sk1080 » Thu Jan 05, 2012 7:07 am

The xell-testing branch should compile just fine, so please post your error if you are getting one.

covenant

Re: XeLL Updates

Post by covenant » Thu Jan 05, 2012 9:13 pm

Last few lines from make on a clean tree of xell-testing checked out today. I used a toolchain I compiled only a couple of days ago on a bog standard x86 PC:

Code: Select all

[device_tree_include.S]
linking ... stage2.elf
main.o: In function `launch_elf':
/home/covenant/dev/xbox360/xell-testing/source/lv2/main.c:132: undefined reference to `kernel_set_initrd'
kbootconf.o: In function `try_kbootconf':
/home/covenant/dev/xbox360/xell-testing/source/lv2/kboot/kbootconf.c:441: undefined reference to `kernel_build_cmdline'
/home/covenant/dev/xbox360/xell-testing/source/lv2/kboot/kbootconf.c:443: undefined reference to `kernel_reset_initrd'
collect2: ld returned 1 exit status
make[3]: *** [/home/covenant/dev/xbox360/xell-testing/stage2.elf] Error 1
make[2]: *** [build] Error 2
make[1]: *** [stage2.elf32.gz] Error 2
make: *** [xell-1f.build] Error 2
More output (from the start of compilation of kbootconf.c) here: http://pastie.org/3133702

Would be nice to get it compiled but have plenty to do in the meantime with kernel debugging on slim now that I have serial logging working.

sk1080

Re: XeLL Updates

Post by sk1080 » Thu Jan 05, 2012 11:43 pm

to compile xell-testing you need to install libxenon-testing

covenant

Re: XeLL Updates

Post by covenant » Sat Jan 07, 2012 1:13 pm

Many thanks, I downloaded, compiled and tested it all last night and it works perfectly.

However, the 'maxtries = 1' is still present in the xell-testing code so the issue I encountered earlier still stands. Attached here is a xell-gggggg.bin binary compiled from the xell-testing tree with only maxtries=1 from tftp.c changed to maxtries=100.

tftpbooting my kernel that contains an initramfs (as a cpio image built in to the kernel) which performs some dirty initialisation before doing a a switch_root on the mounted nfs fs works perfectly for me now so this xell binary may be useful for someone else too.

OT: my RGH slim is quite unstable when booted into Linux at present and some of this seems to be related to nfs mount options which I am sorting out today. However, some is clearly kernel-related but I have not seen any specific discussion about how stable Linux on slims actually is and whether anyone else is working on this. I would love to hear  from anyone who is in order to pool efforts (I am on #libxenon on EFNet a lot at the moment so catch me there instead of hijacking this thread with discussion about this)

Update: Interesting thing about the xell-testing code. TFTP booting a kernel works fine whether my UART debug is attached or not during transfer of the kernel image from my server to the XBox. However, when serial debug is attached, every packet is dropped once. If I have serial debug detached, packets will get dropped (to an extent dependent on the level of net traffic present on my LAN at the time) but not every single one. 
Attachments

[The extension has been deactivated and can no longer be displayed.]

Last edited by covenant on Sun Jan 08, 2012 8:29 pm, edited 1 time in total.

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: XeLL Updates

Post by tuxuser » Tue Jan 17, 2012 9:37 pm

New XeLL Build (TESTING) - Please report all bugs you can find

Changes:
* LINUX works on RGH Consoles !
* additional "return_to_xell"-offset
* Support for external initramfs
* Search for updxell.bin on CD/DVD aswell
* Add status message when looking for updxell.bin
* Look for file named "initrd.gz" on CD/DVD and USB
* Added detection of kboot.conf Header
* Added kboot.conf parsing + Menu
* Supports custom CMDLINE (for linux kernel) via kboot.conf
* Added kboot.conf sample
* Looks for kboot.conf from CD/DVD and USB now

24.12.2011:
kboot: Fixed header-detection of some initrd (thx sk1080!)
elf: Relocate initrd to a static address
main: Directly relocate initrd-data to static address
kboot: Allow kernel/initrd-file to be loaded from different sources (local/tftp)
kboot: Beautifying fileloading

01.01.2012
kboot: Reset initrd before loading a kboot-entry
TFTP: Send ACK after the last data packet
TFTP: Fix files smaller than 1 DATA packet, other minor fixes
kboot: enable speeding up of cpu
kboot: stop countdown on user input
kboot: Make menu controllable via UART UP/DOWN/ENTER key
kboot: Only reinit network if IP in configfile wasnt set previously
kboot: speedup code can take all speedsettings now
kboot: conditions for videomode checked more clearly
kboot: kboot_set_config is called even if no valid kernel-entries are found
kboot: simplified LOAD_FILE function
kboot: better check for tftpserver-arg validity
main: boot_server_name() checks for kboot-parsed value
kboot: Updated kboot.conf sample
kboot: Don't crash due to uninitialized settings
kboot: initialize speedup setting
Try loading files from sda:/ (SATA HDD, FAT32)
Updated README with "How to use" information

17.01.2012
Updated README
kboot: some fixes to initrd relocation
kboot: Fix controller navigation in the menu
xenon_nand: Added rawflash v4 (coded by cOz)
main: Look for 'updflash.bin' to process with rawflash v4
tftp: prevent spamming incase no tftp-server is found
tftp: set maxtries to 10 so it doesn't fail on the first lost TFTP packet
main: Print " * Executing" right before actually executing the ELF
main: Dont look for seperated initrd.gz on media - it only makes sense with kboot.conf
main: no newline for "Bad Header"-message
BUGREPORT-Thread: http://libxenon.org//viewtopic.php?t=7
Append "Build: XeLL_Reloaded-testing-git17012012" when filing a bugreport.
If a fatal crash appears (Red Screen with alot of values :P)
Append the Stack Dump Values which are shown at the bottom - if there arent any, append the value of sr0 =...
Attachments
XeLL_Reloaded-testing-git17012012.tar.gz
(1.05 MiB) Downloaded 681 times
I have no idea what I am doing but atleast I am trying

mattia492

Re: XeLL Updates

Post by mattia492 » Thu Jan 19, 2012 7:10 pm

hi... i have a rgh jasper xbox... how i make to upgrade xell?? thanks :D

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: XeLL Updates

Post by tuxuser » Tue Jan 24, 2012 12:31 am

@Mattia 492

http://libxenon.org//viewtopic.php?t=9

----------------------------------------------------------------------

New XeLL Build (TESTING) - Please report all bugs you can find

Changes:
* LINUX works on RGH Consoles !
* additional "return_to_xell"-offset
* Support for external initramfs
* Search for updxell.bin on CD/DVD aswell
* Add status message when looking for updxell.bin
* Look for file named "initrd.gz" on CD/DVD and USB
* Added detection of kboot.conf Header
* Added kboot.conf parsing + Menu
* Supports custom CMDLINE (for linux kernel) via kboot.conf
* Added kboot.conf sample
* Looks for kboot.conf from CD/DVD and USB now

24.12.2011:
kboot: Fixed header-detection of some initrd (thx sk1080!)
elf: Relocate initrd to a static address
main: Directly relocate initrd-data to static address
kboot: Allow kernel/initrd-file to be loaded from different sources (local/tftp)
kboot: Beautifying fileloading

01.01.2012
kboot: Reset initrd before loading a kboot-entry
TFTP: Send ACK after the last data packet
TFTP: Fix files smaller than 1 DATA packet, other minor fixes
kboot: enable speeding up of cpu
kboot: stop countdown on user input
kboot: Make menu controllable via UART UP/DOWN/ENTER key
kboot: Only reinit network if IP in configfile wasnt set previously
kboot: speedup code can take all speedsettings now
kboot: conditions for videomode checked more clearly
kboot: kboot_set_config is called even if no valid kernel-entries are found
kboot: simplified LOAD_FILE function
kboot: better check for tftpserver-arg validity
main: boot_server_name() checks for kboot-parsed value
kboot: Updated kboot.conf sample
kboot: Don't crash due to uninitialized settings
kboot: initialize speedup setting
Try loading files from sda:/ (SATA HDD, FAT32)
Updated README with "How to use" information

17.01.2012
Updated README
kboot: some fixes to initrd relocation
kboot: Fix controller navigation in the menu
xenon_nand: Added rawflash v4 (coded by cOz)
main: Look for 'updflash.bin' to process with rawflash v4
tftp: prevent spamming incase no tftp-server is found
tftp: set maxtries to 10 so it doesn't fail on the first lost TFTP packet
main: Print " * Executing" right before actually executing the ELF
main: Dont look for seperated initrd.gz on media - it only makes sense with kboot.conf
main: no newline for "Bad Header"-message

24.01.2012
kboot: Menu can be aborted via 'C'-key over UART, B or BACK on X360 Controller or B on IR Remote
zlib: prevent buffer overflow if uncompressed file is bigger than 32MB
kboot: Check gzip file for cpio header without fully extracting it - allows compressed initrd up to 32MB
usbdevs/usbctrl: Added rf unit's DEVICE_ID back to usbctrl_driver init
oops: fixed a possible memory leak
BUGREPORT-Thread: http://libxenon.org//viewtopic.php?t=7
Append "Build: XeLL_Reloaded-testing-git24012012-RC1" when filing a bugreport.
If a fatal crash appears (Red Screen with alot of values :P)
Append the Stack Dump Values which are shown at the bottom - if there arent any, append the value of sr0 =...
Attachments
XeLL_Reloaded-testing-git24012012-RC1_fix1.tar.gz
(1.03 MiB) Downloaded 510 times
Last edited by tuxuser on Tue Jan 24, 2012 12:07 pm, edited 1 time in total.
I have no idea what I am doing but atleast I am trying

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: XeLL Updates

Post by tuxuser » Wed Jan 25, 2012 10:04 pm

New XeLL Build (TESTING) - Please report all bugs you can find

Changes:
* LINUX works on RGH Consoles !
* additional "return_to_xell"-offset
* Support for external initramfs
* Search for updxell.bin on CD/DVD aswell
* Add status message when looking for updxell.bin
* Look for file named "initrd.gz" on CD/DVD and USB
* Added detection of kboot.conf Header
* Added kboot.conf parsing + Menu
* Supports custom CMDLINE (for linux kernel) via kboot.conf
* Added kboot.conf sample
* Looks for kboot.conf from CD/DVD and USB now

24.12.2011:
kboot: Fixed header-detection of some initrd (thx sk1080!)
elf: Relocate initrd to a static address
main: Directly relocate initrd-data to static address
kboot: Allow kernel/initrd-file to be loaded from different sources (local/tftp)
kboot: Beautifying fileloading

01.01.2012
kboot: Reset initrd before loading a kboot-entry
TFTP: Send ACK after the last data packet
TFTP: Fix files smaller than 1 DATA packet, other minor fixes
kboot: enable speeding up of cpu
kboot: stop countdown on user input
kboot: Make menu controllable via UART UP/DOWN/ENTER key
kboot: Only reinit network if IP in configfile wasnt set previously
kboot: speedup code can take all speedsettings now
kboot: conditions for videomode checked more clearly
kboot: kboot_set_config is called even if no valid kernel-entries are found
kboot: simplified LOAD_FILE function
kboot: better check for tftpserver-arg validity
main: boot_server_name() checks for kboot-parsed value
kboot: Updated kboot.conf sample
kboot: Don't crash due to uninitialized settings
kboot: initialize speedup setting
Try loading files from sda:/ (SATA HDD, FAT32)
Updated README with "How to use" information

17.01.2012
Updated README
kboot: some fixes to initrd relocation
kboot: Fix controller navigation in the menu
xenon_nand: Added rawflash v4 (coded by cOz)
main: Look for 'updflash.bin' to process with rawflash v4
tftp: prevent spamming incase no tftp-server is found
tftp: set maxtries to 10 so it doesn't fail on the first lost TFTP packet
main: Print " * Executing" right before actually executing the ELF
main: Dont look for seperated initrd.gz on media - it only makes sense with kboot.conf
main: no newline for "Bad Header"-message

24.01.2012
kboot: Menu can be aborted via 'C'-key over UART, B or BACK on X360 Controller or B on IR Remote
zlib: prevent buffer overflow if uncompressed file is bigger than 32MB
kboot: Check gzip file for cpio header without fully extracting it - allows compressed initrd up to 32MB
usbdevs/usbctrl: Added rf unit's DEVICE_ID back to usbctrl_driver init
oops: fixed a possible memory leak

25.01.2012
xb360: additional offets for reloading & updxell
main: use predefined color values for console_init
Updated README
BUGREPORT-Thread: http://libxenon.org//viewtopic.php?t=7
Append "Build: XeLL_Reloaded-testing-git25012012-RC2" when filing a bugreport.
If a fatal crash appears (Red Screen with alot of values :P)
Append the Stack Dump Values which are shown at the bottom - if there arent any, append the value of sr0 =...
Attachments
XeLL_Reloaded-testing-git25012012-RC2_fix1.tar.gz
(1.03 MiB) Downloaded 1280 times
Last edited by tuxuser on Wed Jan 25, 2012 10:42 pm, edited 1 time in total.
I have no idea what I am doing but atleast I am trying

john.wayne

Re: XeLL Updates

Post by john.wayne » Fri Jan 27, 2012 1:34 am

Any news about overscan problem fix? Slim\Hdmi  :)
Please fix it! 720p )

SPARK

Re: XeLL Updates

Post by SPARK » Tue Feb 14, 2012 11:11 pm

Thank you very much for posting the new builds

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest