int do_bootbk (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
ulong addr;
char cmd[128];
char cmdline[128];
/* Validate arguments */
if (argc != 4)
return -1;
do_panic_download();
#ifdef CONFIG_IPQ806X_PCI
board_pci_deinit();
#endif /* CONFIG_IPQ806X_PCI */
addr = simple_strtoul(argv[1], NULL, 16);
sprintf(cmdline, "loader=u-boot part=%s",argv[2]);
setenv("bootargs", cmdline);
setenv("machid", "136b");
sprintf(cmd, "bootm 0x%x#%s", (unsigned int)addr, argv[3]);
printf(cmd);
return run_command(cmd, 0);
}
U_BOOT_CMD(bootbk, 4, 0, do_bootbk,
"Boot Meraki bootkernel",
"bootbk <address> <partition-name> <itb config>");
setenv bootargs console=ttyHSL1,115200n8 maxcpus=0 rdinit=/bin/sh part=bootkernel2 loader=u-boot
setenv machid 136b
nand read 0x42000000 0x02c40000 0x00a80000
bootm 0x42000000#config@2
. How do both infos align?Do not overwrite the stock u-boot or you will end up with a brick.
Managed to resolve this last night (at the third attempt). Have confirmed u-boot flashing is working having successfully tested on three devices.. How do both infos align?
I'm interested want to swap two bricked mr42:s for one untouched mr52 ?Managed to resolve this last night (at the third attempt). Have confirmed u-boot flashing is working having successfully tested on three devices.
If anyone has the means to manually write to a NAND I have two bricked MR42s and an MX65 available
Yes please will PM youI'm interested want to swap two bricked mr42:s for one untouched mr52 ?
Do you have a terminal log? Omitting the sysupgrade shouldn't be an issue. When the device is powered on is there any LED activity?I followed the guide in the merge request but omitted the step "Proceed to flash the sysupgrade image...".
I was so happy seeing the usual openwrt luci frontend on screen that i unplugged the device to close the case.
Now it does pretty much nothing not even write anything on the UART. Do i own a brick now ? Any thing i could try?
Did you try holding reset when powering on (and keep holding it for about 5 seconds)? Keep the tftp server active and IP to 192.168.1.250.unfortunately i dont have a terminal log.
I know i flashed the network enabled uboot (hopefully correctly but the total absence of info coming in via UART lets me doubt that).
I also deleted the miraki OS partitions.
Via the terminal i then set the ip to something in my reachable range and accessed the luci web interface. Happy with that success i then unplugged the device to close the case fully and now i hate myself.
When plugged in the device switches on the red led, which stays red. The network interface led are off.
same here. Asked the seller for some tracking info. Lets seeHaven't heard anything from the seller despite paying on Monday...
Have you had any luck with the MR53?!DO NOT upgrade the firmware unless necessary!
I recently switched an MR33 to OpenWRT - only older firmwares can flash OpenWRT. Newer official firmwares will BRICK the device!
See: Not working on U-Boot 2017.07-RELEASE-g78ed34f31579 (Sep 29 2017 - 07:43:44 -0700) · Issue #13 · riptidewave93/LEDE-MR33
Got an MR53 on the way.. similar to the MR52. Will try porting OpenWRT to that as well.
Haven't had time to continue to work on the MR53 - still on MR33.Have you had any luck with the MR53?!