-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: mpc85xx: Support Ruckus R700 #23
Comments
u-boot help:
|
MAC addresses anonymized with AA:BB:CC:DD: but all three addresses matched and then were 0,1, & 2.
|
Great, thanks. I was looking in Edit: to be clear RE: boot chain: all u-boot devices run something when they 'autoboot'; sometimes they run We can look through the u-boot binary and find what this one runs -- probably a hardcoded string -- given the use of Let's keep working on the image backup. Once that's done, the next step IMO will be crafting a device tree. |
RE: Ruckus boot chain,
It's possible the same fact (that setting the @lukejenkins, could you show us whether this section in the normal boot sequence changes if you
|
Here are the results:
|
Great! So we can override the bootcmd. I'd suggest you trace the remainder of the dump to understand what's in it -- in particular, where the u-boot binary and env start and stop, and where the calibration data is - if any. You should be able to find the caldata location pretty easily. There'll be one for your ath9k card and one for your ath10k one. Here's the caldata from a BSAP2030 - all QCA9880 caldatas are 0x844-long per
It contains a nice string:
... so the full bin has a QCA9880-compatible caldata section at exactly Confirming atheepmgr likes it:
When you find your calibration data offsets, they need to be inserted into a new .dts file under For formatting that device-tree notation,
|
See https://forum.openwrt.org/t/create-firmware-for-ruckus-r700/133484
Checklist
help
in u-boot?printenv
in u-boot? (please scrub MACs and serials, etc.)sf
to start the SPI flash subsystem and copy stuff out of it into RAM before booting. This, combined with the absence of abootcmd
, strongly suggests we'll find the stock boot commands in the strings in the original flash dump. So:strings | grep -we sf
through it to find the scripts it runs on boot.target/linux/mpc85xx/files/arch/powerpc/boot/dts
on themain
branch, and beginning to edit the partition list under{lbc:nor@0,0:partitions}
(or equivalent -- there is more than one way to create a device tree that the kernel can use to find its rootfs.)The text was updated successfully, but these errors were encountered: