Skip to content

Dump/restore on nand is very slow. #56

Open
@shadow2560

Description

@shadow2560

Hi,

I've the script below witch is verry slow (I think it will take 3 or 4 ours to dump or restore the nand), is it normal? I've the "libsys_minerva.bso" in "bootloader\sys" in my SD.

Here is the script:

#REQUIRE VER 4.0.1
#REQUIRE MINERVA
#REQUIRE KEYS
#REQUIRE SD

restoreFolderPath = "sd:/dump"
BOOT0Path = combinepath(restoreFolderPath, "BOOT0.bin")
BOOT1Path = combinepath(restoreFolderPath, "BOOT1.bin")
PRODINFOPath = combinepath(restoreFolderPath, "PRODINFO.bin")
PRODINFOFPath = combinepath(restoreFolderPath, "PRODINFOF.bin")
BCPKG1Path = combinepath(restoreFolderPath, "BCPKG2-1-Normal-Main.bin")
BCPKG2Path = combinepath(restoreFolderPath, "BCPKG2-2-Normal-Sub.bin")
BCPKG3Path = combinepath(restoreFolderPath, "BCPKG2-3-SafeMode-Main.bin")
BCPKG4Path = combinepath(restoreFolderPath, "BCPKG2-4-SafeMode-Sub.bin")
BCPKG5Path = combinepath(restoreFolderPath, "BCPKG2-5-Repair-Main.bin")
BCPKG6Path = combinepath(restoreFolderPath, "BCPKG2-6-Repair-Sub.bin")
SAFEPath = combinepath(restoreFolderPath, "SAFE.bin")
SYSTEMPath = combinepath(restoreFolderPath, "SYSTEM.bin")
USERPath = combinepath(restoreFolderPath, "USER.bin")

if (fsexists(restoreFolderPath) == 0) {
	mkdir(restoreFolderPath)
}
println("BOOT0")
emmcread(BOOT0Path, "BOOT0")
println("BOOT1")
emmcread(BOOT1Path, "BOOT1")
println("PRODINFO")
emmcread(PRODINFOPath, "PRODINFO")
println("PRODINFOF")
emmcread(PRODINFOFPath, "PRODINFOF")
println("BCPKG2-1-Normal-Main")
emmcread(BCPKG1Path, "BCPKG2-1-Normal-Main")
println("BCPKG2-2-Normal-Sub")
emmcread(BCPKG2Path, "BCPKG2-2-Normal-Sub")
println("BCPKG2-3-SafeMode-Main")
emmcread(BCPKG3Path, "BCPKG2-3-SafeMode-Main")
println("BCPKG2-4-SafeMode-Sub")
emmcread(BCPKG4Path, "BCPKG2-4-SafeMode-Sub")
println("BCPKG2-5-Repair-Main")
emmcread(BCPKG5Path, "BCPKG2-5-Repair-Main")
println("BCPKG2-6-Repair-Sub")
emmcread(BCPKG6Path, "BCPKG2-6-Repair-Sub")
println("SAFE")
emmcread(SAFEPath, "SAFE")
println("SYSTEM")
emmcread(SYSTEMPath, "SYSTEM")
println("USER")
emmcread(USERPath, "USER")
println("")
println("Finished, press any keys to continue.")
pause()
exit()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions