Hi Bastian, 2013/10/10 Bastian Bittorf <bitt...@bluebottle.com>: > for doing a full reboot in this stage (i think) we have to call > somehow 'machine_restart(args)' - but where can i find the > board-specific code/headers? >
If you would a full reboot, then try to set AR71XX_RESET_FULL_CHIP bit in register AR71XX_RESET_REG_RESET_MODULE or AR724X_RESET_REG_RESET_MODULE or ... (too many SoCs to list all regs here) depending on your CPU. All necessary definitions already exists in ar71xx_regs.h file of the lzma-loader. Also you could use board.c file as reference of register access methods. Hint: look at function ath79_device_reset_set() in arch/mips/ath79/common.c and port it to your_preferred_kernel_loader. Can be easier to replace the hanging board instead of inventing workarounds for loader? Board hang has their causes. -- BR, Sergey _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel