Im working on implementing my Xirrus XR-2400 in to the Freifunk network.
As they are really cheap (around 20€ on ebay) this might be useful.
The first step is getting OpenWRT running.
Things I know so far:
# cat /proc/cpuinfo
system type : XARRAY (CN5220p2.0-500-CP)
machine : Unknown
Memory : 1024 MB, Unbuffered, Non-ECC
cpu MHZ : 500
processor : 0
cpu model : Cavium Octeon+ V0.8
BogoMIPS : 1000.00
wait instruction : yes
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : yes
hardware watchpoint : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
isa : mips1 mips2 mips3 mips4 mips5 mips64r2
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 1
cpu model : Cavium Octeon+ V0.8
BogoMIPS : 1000.00
wait instruction : yes
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : yes
hardware watchpoint : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
isa : mips1 mips2 mips3 mips4 mips5 mips64r2
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 1
VCED exceptions : not available
VCEI exceptions : not available
# cat /proc/xirrus_info
scd_file=scd-4.03.bin
scd_date=2012/05
uboot_file=u-boot-7066.bin
uboot_signon=Xirrus Boot Loader 7.1.0 (Apr 06 2016), Build: 7066
compass=27
The factory image used:
# file XS-8.5.7-7694.bin
XS-8.5.7-7694.bin: u-boot legacy uImage, XR-8.5.7-7694, Linux/MIPS, Multi-File Image (Not compressed), 85063534 bytes, Tue Jun 9 00:31:08 2020, Load Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0xEC12AC4C, Data CRC: 0x66A37D34
But the problem is that the target image supplied by OpenWRT looks like this:
# file openwrt-19.07.3-octeon-generic-initramfs-kernel.bin
openwrt-19.07.3-octeon-generic-initramfs-kernel.bin: ELF 64-bit MSB executable, MIPS, MIPS64 rel2 version 1 (SYSV), statically linked, stripped
This is the message I'm getting when booting:
XBL>boot
[USB 0 ] File : openwrt.bin
[USB 0 ] Address : 0x02020100
[USB 0 ] Loading : ############################################### done
[USB 0 ] Complete: 864 ms, 16.3 MB/sec
[Boot ] Address : 0x02020100 ... ### Wrong Image Format for boot Command ###
This is how it should look like:
XBL>boot
[USB 0 ] File : X*.bin
[USB 0 ] Address : 0x20000000
[USB 0 ] Loading : ############################################### done
[USB 0 ] Complete: 4.6 sec, 16.6 MB/sec
[Boot ] Address : 0x20000000
[Image ] Name : XR-7.6.2-6287
[Image ] Created : 2016-05-06 2:09:05 UTC
[Image ] Type : MIPS Linux Multi-File Image (uncompressed)
[Image ] Size : 78252515 Bytes = 74.6 MB
[Image ] Contents: File 0: 10819346 Bytes = 10.3 MB
[Image ] Contents: File 1: 54468819 Bytes = 51.9 MB
[Image ] Contents: File 2: 12964331 Bytes = 12.4 MB
[Boot ] Image : Verifying image ....... OK
[Boot ] Loading : Multi-File Image .... OK
[Boot ] Watchdog: Setting to 40 secs .... OK
[Boot ] Execute : Transferring control to OS
Is there a way the build the octeon target as a "u-boot legacy uImage" file?
Thanks in advance.