Hello, I am attempting to install OpenWRT onto a second hand watchguard t40w I have. I am new to building firmware and flashing embedded devices, so this project is over my head and I need some guidance/tips.
I currently have a TFTP server and an active serial connection to the device. I have tried multiple different file types using openWRTs 'make menuconfig'. From the looks of it in the current u-boot environment, its booting the Watchguard kernel file which is a .itb file.
I'm assuming that since the bootloader is customized for the watchguard there might be some sort of mechanism that prevents loading other types of images or even prevents from booting anything that isn't watchguard specific. The main error messages I receive when attempting to boot the images (.bin, .itb, .uimage) is that it cannot get the kernel image from the boot file.
I have attempted creating a .bin image which the LS1043A target selected in the menuconfig for OpenWRT as well as creating an .itb image from the image builder.
My main question is, would it be worth the effort to re-flash U-Boot so I have a fresh U-Boot configuration, or has anyone worked with a LS1043A QDS board before with success?
The issue is You don't post what are those error messages and go for the solution which is the one most difficult to achieve. There's no need to change bootloader if You can interrupt it and boot unsigned system/kernel from other medium. The usual customization are specified in U-Boot environment and likely it's possible to alter it from U-Boot console. But before You'll think about doing that, You need kernel with dtb adapted to the board. As 1st step try to tftpboot initramfs (select ramdisk image in menuconfig) for fsl_ls1043a-rdb board just to test if the kernel loads and boots. The vendor kernel is probably new enough to use dtb, so the next step is to use binwalk to extract it and decompile it to dts (or upload the file with .itb extension somewhere). Please post that dts here. That dts is a hardware description which could be used unmodified or will need slight modification to run with mainline kernel.