"nanddump" missing in stock system

This forum is for all other ARMv5 devices

"nanddump" missing in stock system

Postby coupondeal » Wed Dec 21, 2011 4:55 pm

When I just opened the package of B01 and start running oxnas-install.sh, I found that the file $this->bbcode_second_pass_code('', '/usr/sbin/nanddump')
doesn't even exist!

so that these two lines$this->bbcode_second_pass_code('', '
cp /usr/sbin/nanddump usr/local/cloudengines/bin/
/usr/sbin/nanddump -o -f mtd1.dump /dev/mtd1
')
can't be successfully executed.

I was able to install the OXNAS/ALARM at the end, and roughly speaking the ArchLinux system is running well. But I have some concern over the fact that I didn't fully back up the stock NAND/MTD1...
coupondeal
 
Posts: 9
Joined: Wed Dec 21, 2011 4:27 pm

Re: "nanddump" missing in stock system

Postby WarheadsSE » Wed Dec 21, 2011 4:59 pm

You're fine. Really. Search this subforum, it's been addressed multiple times.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: "nanddump" missing in stock system

Postby coupondeal » Wed Dec 21, 2011 5:17 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'Y')ou're fine. Really. Search this subforum, it's been addressed multiple times.

All I found is this:
http://archlinuxarm.org/forum/viewtopic.php?f=29&t=1167&hilit=nanddump&start=10#p6606
Your suggestion is that I should have had mtd-utils installed before running the oxnas-install.sh in order to create a backup of the old nand, right?
coupondeal
 
Posts: 9
Joined: Wed Dec 21, 2011 4:27 pm

Re: "nanddump" missing in stock system

Postby WarheadsSE » Wed Dec 21, 2011 5:19 pm

except, you can't since it's not installed.

Also, again, you're fine. Once ALARM is installed, you can back it up again...
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: "nanddump" missing in stock system

Postby coupondeal » Wed Dec 21, 2011 5:36 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'e')xcept, you can't since it's not installed.

Why I can't install it? because the original Pogoplug OS forbids users from installing any 3rd party package?

$this->bbcode_second_pass_quote('WarheadsSE', 'A')lso, again, you're fine.

Yes, yes I know.

$this->bbcode_second_pass_quote('WarheadsSE', 'O')nce ALARM is installed, you can back it up again...

How? I mean, I see
$this->bbcode_second_pass_code('', '
echo "# Erasing mtd1 @ 0x500000 for 17 erase blocks (kernel location)"
/usr/sbin/flash_erase /dev/mtd1 0x500000 17
echo "# Erasing mtd1 @ 0xB00000 for 17 erase blocks (2nd kernel location)"
/usr/sbin/flash_erase /dev/mtd1 0xB00000 17
echo "# - @ 0x500000"
/usr/sbin/nandwrite -p -s 0x500000 /dev/mtd1 /tmp/usb/boot/uImage.nopci
echo "# - @ 0xB00000"
/usr/sbin/nandwrite -p -s 0xB00000 /dev/mtd1 /tmp/usb/boot/uImage.nopci
')
which makes me assume that the original kernel image on the original NAND flash has been erased and overwritten. If I make a back it up after ALARM is installed, the backup will be the OXNAS/ALARM one, rather than the original one.
coupondeal
 
Posts: 9
Joined: Wed Dec 21, 2011 4:27 pm
Top

Re: "nanddump" missing in stock system

Postby WarheadsSE » Wed Dec 21, 2011 5:43 pm

install - correct.
you're ok - good
overwriteen - wrong. I specifically say "empty space in NAND." The erase is there because the safest way to write to NAND it to erase where you want to write, first. I have erased nothing, because nothing was there.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: "nanddump" missing in stock system

Postby coupondeal » Wed Dec 21, 2011 7:15 pm

$this->bbcode_second_pass_quote('WarheadsSE', '
')overwriteen - wrong. I specifically say "empty space in NAND." The erase is there because the safest way to write to NAND it to erase where you want to write, first. I have erased nothing, because nothing was there.


I see. Now it's clear to me. Thank you for your clarification :)
coupondeal
 
Posts: 9
Joined: Wed Dec 21, 2011 4:27 pm
Top


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 2 guests