Merge pull request #156 from Benoit7413/patch-1

Replace NAND by eMMC
This commit is contained in:
hexkyz 2018-06-26 16:33:18 +01:00 committed by GitHub
commit ed718e007f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ void nxboot_main(void) {
#ifdef I_KNOW_WHAT_IM_DOING_2 #ifdef I_KNOW_WHAT_IM_DOING_2
pk2file = fopen("bcpkg21:/", "rb"); pk2file = fopen("bcpkg21:/", "rb");
if (pk2file == NULL || fseek(pk2file, 0x4000, SEEK_SET) != 0) { if (pk2file == NULL || fseek(pk2file, 0x4000, SEEK_SET) != 0) {
printf("Error: Failed to open Package2 from NAND: %s!\n", strerror(errno)); printf("Error: Failed to open Package2 from eMMC: %s!\n", strerror(errno));
fclose(pk2file); fclose(pk2file);
generic_panic(); generic_panic();
} }