xboxscene.org forums

Pages: 1 2 [3] 4 5 ... 8

Author Topic: 4 Step Guide To Flashing Xbreboot With Gentoo Linux  (Read 508 times)

bulle48

  • Archived User
  • Newbie
  • *
  • Posts: 36
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #30 on: January 06, 2010, 09:16:00 AM »

QUOTE(firebuddie @ Jan 6 2010, 08:13 AM) *

Grim187@ forgive my linux programming ignorance but...if you just want to flash an updated xbr without doing any dump 1st (what'ts the point as you are dumping previous hacked xbr nand which we will have anyway?) why does your code still do this nand dump before flashing new version of xbr? If I edit your code from "./lflash 1.bin xbr.bin" to "/lflash xbr.bin" will lflash just write xbr or is it a limitation of lflash to always have to do a read before you can do a write?

Hopefully makes sense.


lflash will always read before write to make sure you have a valid/working kernel backup in case whatever you write is bad and can't boot after.  It is much safer this way and only takes a few seconds extra.

the command "./lflash xbr.bin" will make a backup of the current NAND called xbr.bin... it will not write anything.  syntax is: "./lflash <backup name> <image to write>" where the <image to write> is optional if you only want to read.
Logged

magnus__hydra

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #31 on: January 06, 2010, 10:42:00 AM »

CODE
mount -t vfat -o uid=gentoo,gid=users /dev/sdb /home/gentoo/Desktop/flash
mount -t vfat -o uid=gentoo,gid=users /dev/sdb1 /home/gentoo/Desktop/flash

Says " mount: special device /dev/sdb does not exist.

CODE
mount -t vfat -o uid=gentoo,gid=users /dev/sdb1 /home/gentoo/Desktop/flash

says" Mount: wrong fs type, bad option, bad superblock on /dev/sda, misson codepage or other error - try demesg | tail or so

I have tried both my usb HDD and a USB thumb drive. formatted them both to FAT32. Any help?
To do retype dmesg | grep -i "SCSI device" everytime i plu in the HDD or the Thumb drive.
Logged

Grim187

  • Archived User
  • Hero Member
  • *
  • Posts: 2036
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #32 on: January 06, 2010, 10:46:00 AM »

QUOTE(magnus__hydra @ Jan 6 2010, 09:42 AM) View Post

CODE
mount -t vfat -o uid=gentoo,gid=users /dev/sdb /home/gentoo/Desktop/flash
mount -t vfat -o uid=gentoo,gid=users /dev/sdb1 /home/gentoo/Desktop/flash

Says " mount: special device /dev/sdb does not exist.

CODE
mount -t vfat -o uid=gentoo,gid=users /dev/sdb1 /home/gentoo/Desktop/flash

says" Mount: wrong fs type, bad option, bad superblock on /dev/sda, misson codepage or other error - try demesg | tail or so

I have tried both my usb HDD and a USB thumb drive. formatted them both to FAT32. Any help?
To do retype dmesg | grep -i "SCSI device" everytime i plu in the HDD or the Thumb drive.

it should be the latest one on the list, if you get sda from grep then use that instead of sdb, if your having problems getting your device to show up in grep then it could be a compatibility issue.
Logged

boffo123

  • Archived User
  • Newbie
  • *
  • Posts: 9
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #33 on: January 06, 2010, 11:04:00 AM »

QUOTE(SDOD616 @ Jan 5 2010, 10:49 PM) *

Wow, i feel like absolute shite because i cannot even get my xenon 7371 nand to read through lpt. I have tried removing resistors, adding, removing diode on pin 11, i still get the same unfriendly message "flash controller not detected"

I had the same problem. Try leaving the LPT cable unplugged from the Xbox to start with. Then, start nandpro and then immediately plug in the LPT cable to the box. I think I found that solution somewhere in this thread: http://forums.xbox-scene.com/index.php?showtopic=700952.

This post has been edited by boffo123: Jan 6 2010, 07:05 PM
Logged

bulle48

  • Archived User
  • Newbie
  • *
  • Posts: 36
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #34 on: January 06, 2010, 12:29:00 PM »

It seems that all the guides I've seen tell people to download some calculator tool to convert hex to decimal.

Don't people know that the Windows Calculator can do this???
Open calculator, goto view-->scientific... click on HEX enter the hex value then click on DEC to convert to decimal.  Voila!  No need to download/install another calculator.
Logged

DARKFiB3R

  • Archived User
  • Sr. Member
  • *
  • Posts: 464
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #35 on: January 06, 2010, 09:43:00 PM »

Sweet guide, and I'll be following it tomorrow, but how come there is no mention of removing r6t3?
Logged

whelixw

  • Archived User
  • Newbie
  • *
  • Posts: 25
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #36 on: January 06, 2010, 10:21:00 PM »

[quote name='Note: dont solder the Diode to db1f1, solder it to j2d2 like this.
[/quote]
 Why the diode change here?
Logged

magnus__hydra

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #37 on: January 06, 2010, 10:35:00 PM »

QUOTE(Grim187 @ Jan 6 2010, 12:46 PM) View Post

it should be the latest one on the list, if you get sda from grep then use that instead of sdb, if your having problems getting your device to show up in grep then it could be a compatibility issue.

About 15mins after I post I got it to work by using sba1. I didn't flash because I had to go to work and didn't want my xbox running all day. Anyone know how long it take to use this to flash XBR3 to a jasper 512?
Logged

Grim187

  • Archived User
  • Hero Member
  • *
  • Posts: 2036
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #38 on: January 06, 2010, 11:27:00 PM »

QUOTE(bulle48 @ Jan 6 2010, 11:29 AM) View Post

Don't people know that the Windows Calculator can do this???

because its easier to click a link.

QUOTE(DARKFiB3R @ Jan 6 2010, 08:43 PM) View Post

Sweet guide, and I'll be following it tomorrow, but how come there is no mention of removing r6t3?

if you can think of a good to that no n00b will mess up to remove r6t3 i will add it (i cant).

QUOTE
Why the diode change here?

it dident, just wanted to make sure your not going to solder the leg of the diode to that tiny pad and lift it.

QUOTE(magnus__hydra @ Jan 6 2010, 09:35 PM) View Post

About 15mins after I post I got it to work by using sba1. I didn't flash because I had to go to work and didn't want my xbox running all day. Anyone know how long it take to use this to flash XBR3 to a jasper 512?

your xbox wouldent be running, it would be flashing.
it takes about 90mins to flash xbr via lpt to big block jasper.
Logged

magnus__hydra

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #39 on: January 07, 2010, 12:07:00 AM »

QUOTE(Grim187 @ Jan 7 2010, 01:27 AM) *

because its easier to click a link.
if you can think of a good to that no n00b will mess up to remove r6t3 i will add it (i cant).
it dident, just wanted to make sure your not going to solder the leg of the diode to that tiny pad and lift it.
your xbox wouldent be running, it would be flashing.
it takes about 90mins to flash xbr via lpt to big block jasper.

I am not trying to dump really just flashing to newer 512 xbr. Once I type
gcc lflash.c -o lflash
says " lflash.c: in function 'ioremap':
lflash.c:55: warning: cast to pointer from integer of different size"
then just freezes?  I've waitted over 2 hours and nothing...

This post has been edited by magnus__hydra: Jan 7 2010, 08:58 AM
Logged

magnus__hydra

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #40 on: January 07, 2010, 10:16:00 AM »

QUOTE(magnus__hydra @ Jan 7 2010, 02:07 AM) View Post

I am not trying to dump really just flashing to newer 512 xbr. Once I type
gcc lflash.c -o lflash
says " lflash.c: in function 'ioremap':
lflash.c:55: warning: cast to pointer from integer of different size"
then just freezes?  I've waitted over 2 hours and nothing...

Can't edit?

I gave up and flash LTP Spent more time trying to flash with the CD then LTP takes to flash.
Logged

holyjewsus

  • Archived User
  • Newbie
  • *
  • Posts: 29
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #41 on: January 07, 2010, 10:17:00 AM »

is it possible to run gentoo from a usb hd before flashing xbr, my box wont have a dvd drive... or I'm stuck using lpt/usb?
Logged

magnus__hydra

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #42 on: January 07, 2010, 10:48:00 AM »

QUOTE(holyjewsus @ Jan 7 2010, 12:17 PM) View Post

is it possible to run gentoo from a usb hd before flashing xbr, my box wont have a dvd drive... or I'm stuck using lpt/usb?

flash with Xell then put the cd in.
Logged

soulwarrior

  • Archived User
  • Full Member
  • *
  • Posts: 149
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #43 on: January 07, 2010, 11:22:00 AM »

Grim I have a question:

I . Gentoo made a corrupted nand backup with a bad key vault and im assuming bad config  blocks too.
2. Realizing this, I used the c1.bin for the keyvault and config blocks because the c1.bin is not corrupted.
i used "nandpro c1.bin: -r3 rawkv.bin 1 1" and then "nandpro c1.bin: -r3 rawconfig.bin 3de 2" and then wrote those to xbr.bin using "nandpro xbr.bin: -w16 rawkv.bin 1 1" and then "nandpro xbr.bin: -w16 rawconfig.bin 3de 2"
3. Is this correct? and also, if I use "nandpro orig.bin: -w3 c1.bin" i can open the corrupted in degraded (after hexing 2007 to 2005) and there are no bad blocks. Do i really have no bad blocks or would a corrupt nand backup not recognize if there was bad blocks (and/or did gentoo correctly remap the bad blocks but just made a bad backup)?
Logged

DARKFiB3R

  • Archived User
  • Sr. Member
  • *
  • Posts: 464
4 Step Guide To Flashing Xbreboot With Gentoo Linux
« Reply #44 on: January 07, 2010, 01:09:00 PM »

QUOTE(Grim187 @ Jan 7 2010, 05:27 AM) View Post

if you can think of a good to that no n00b will mess up to remove r6t3 i will add it (i cant).


What?  blink.gif
Logged
Pages: 1 2 [3] 4 5 ... 8