Hi!
I try to figure out how to build an updated u-boot image for wrt1200ac.
There are 2 repos:
Marvell:
Offical(?) u-boot:
But i can't find any config file for wrt1200 in the configs/ folder.
So how to get a working config for wrt1200?
I know if uboot bricks there will be no way to recover.
I also want to try to overclock the cpu from 1,3ghz to 1,6ghz
In /arch/arm/mach-mvebu/cpu.c there is frequency table:
/* SAR frequency values for Armada 38x */
static const struct sar_freq_modes sar_freq_tab[] = {
{ 0x0, 0x0, 666, 333, 333 },
{ 0x2, 0x0, 800, 400, 400 },
{ 0x4, 0x0, 1066, 533, 533 },
{ 0x6, 0x0, 1200, 600, 600 },
{ 0x8, 0x0, 1332, 666, 666 },
{ 0xc, 0x0, 1600, 800, 800 },
{ 0x10, 0x0, 1866, 933, 933 },
{ 0x13, 0x0, 2000, 1000, 933 },
{ 0xff, 0xff, 0, 0, 0 } /* 0xff marks end of array */
};
Changing:
{ 0x8, 0x0, 1332, 666, 666 },
to:
{ 0x8, 0x0, 1600, 800, 800 },
should do the trick?
And it seems like the wrt1200ac supports the neon extension.
I actually thought that neon is not quite useful for "normal" workloads.
But i want to give it a try anyway.
What steps are needed to make neon work?
This is what i have done so far:
target.mk change
CPU_SUBTYPE:=vfp3
to
CPU_SUBTYPE:=neon
Change/add
-mfpu=neon-fp16 -ftree-vectorize -ffast-math
to the compiler options.
Anything else i missed?
Thank you.