No sorry, i have no experience with RedBoot nor do i know anything about it.
What happens if you set bootargs = "console=ttyS0,115200"; in dts?
I think there shouldn be root=XXX if you have fixed-partitions and the other stuff shouldn´t also be needed.
From my point of view there is nothing wrong with your flash definition in comparison to the mach file...
What confuses me a little bit is the cs definition...
Try to add cs-gpios = <&gpio 0 0>; after cs-num = <1>;.
Probably this device / board does use a generic gpio instead of the hw cs pin.
To the switch:
If i grep through the linux source there are some dts files with compatible = "vitesse-7385"; defined, but there is no matching driver. Probably this isn´t needed, but it´s not clear to me how you could define the firmware for the switch.
the driver is in ar71xx target and the firmware is packed as a separate package, I'll try the cs-gpios, it's a bummer I don't understand how to run from memory
yes, at first it would not boot at all if base address is not set manually (redboot will put it wrong), I had a lot of headache making the device boot openwrt
but the wireless signal is so good that made wort spending the time, and with only internal anennas
so, something is strange I tried the ar71xx pb44 target with patched kernel 4.14 (closed PR) and with normal 4.9 kernel, both of them would not detect the spi flash and I know that the only thing I edited to pb44 was to disable the usb and changed the root= command
so the problem must be between 4.4 and 4.9
@lucize I think You're overcomplicating things. I checked the code in ar71xx target for building PB4X image and didn't see any specific adjustments for gziped images. Have in mind that RedBoot expects separate kernel and rootfs partitions, You should use combined-image command to create it. For example look at the definition:
Unfortunately current patch-set in ath79 doesn't have patch for scanning RedBoot partition layout and all partitions need to be statically defined in dts, and because of that kernel size needs to be specified and padded to this size. Also remove the root= argument from kernel command line.
thanks I'm fine manual writing the kernel and after that rootfs on the manual defined partitions, don't know anyone else with this board type, I would liked to make okli-loader work to save some space on kernel (although I don't need the space), but I don't know if is made for redboot or how is scanning the flash for the magic word. I enabled some debug to see what address will search but I made the step too small and eventually crashed in searching
between RootFsB and Test there can be any number of partitions. Redboot has lzma support, but this version is quite stripped, is costumized for u4ea devices
I don't know specifics, just started looking at it month ago, but as I see RedBoot boots kernel from partition with specified label which is looked up in FIS directory.