notaz
Certified Guru
As ED is selling his last ever pandoras again (from time to time), I thought it's a good time to make another SZ release with fixes that have piled up. So here come the changes:
Yet more wifi tweaks. This was done earlier this year, so was already available and tested by many people with positive results, so releasing as part of flashable image now.
After some connection reliability issues to my router I had an idea to observe the TI vendor driver (2 drivers exist for our wifi chip - TI one and Nokia one, we use the later because only it supports Linux fully) and see if it did something different. What was noticed that power saving wasn't toggled as much by TI driver, and porting that over to Nokia driver helped reliability a lot in my case (but not the speed). Some testers reported improved speeds though, and things like reduced interference with other devices that they previously had. It made things worse for some CC users (I believe they have faulty hardware - wrong resistor), but I've added a config option for them to revert to old behavior if needed.
NAND reliability tweaks. So finally some reports started appearing on these boards about something that looked like NAND wear problems. It's not surprising as the chips are well over 5 years old now. Those issues tend to show up when NAND is full or near full, probably because ubifs ends up not having where to migrate data when bitflips are detected (block becomes bad). I've had a quick look and found a few things that could be done:
SD DMA tweaks. For whatever reason prefetch and burst features were not enabled in the DMA controller, so I've enabled them. It doesn't seem to help SD card transfer speed, but helped wifi transfer speed stability (had to find a free wifi channel to get reproducible results, on channels with busy neighbor routers the speed fluctuates wildly no matter what).
Clean up. I've decided to drop some large things to relieve NAND pressure:
- swfdec - it's very old and not really useful, I've read it conflicts with modern browser PNDs.
- qtwebkit4 - mostly same as above
- samba server - don't think anyone ever used it, install it with opkg if you need it (sudo opkg install samba)
Other that that, had to merge some things to fix broken build after ED updated Debian on the server. I suspect it will not be possible to use the server to build the firmware after some more Debian updates, but maybe we won't even need to.
More detailed changelog:
Upgrading from a previous SuperZaxxon version (1.5x or newer):
Use the "Upgrade Pandora OS" option
Please note:
Upgrade instructions using the Full-Flash-Image:
Download SuperZaxxon Final v1.72 RC
Please note: Flashing the new firmware will put your unit back into a default state. All your settings and users will be lost. Of course, this does not apply to PNDs which save their stuff on the SD-Card.
To install it, simply extract the archive onto the root of your SD Card.
Insert the SD Card into the left slot. Keep R (shoulder) pressed while switching on your Pandora and select "Boot from SD1"
It will then flash the firmware onto the NAND. After it's finished, reboot your Pandora and patiently wait until the First Boot Wizard appears on the screen.
If "Boot from SD1" doesn't appear, try to reformat the SD Card using Panasonic SD Formatter, recopy the files and retry. In some cases you may have to use another SD card.
Yet more wifi tweaks. This was done earlier this year, so was already available and tested by many people with positive results, so releasing as part of flashable image now.
After some connection reliability issues to my router I had an idea to observe the TI vendor driver (2 drivers exist for our wifi chip - TI one and Nokia one, we use the later because only it supports Linux fully) and see if it did something different. What was noticed that power saving wasn't toggled as much by TI driver, and porting that over to Nokia driver helped reliability a lot in my case (but not the speed). Some testers reported improved speeds though, and things like reduced interference with other devices that they previously had. It made things worse for some CC users (I believe they have faulty hardware - wrong resistor), but I've added a config option for them to revert to old behavior if needed.
NAND reliability tweaks. So finally some reports started appearing on these boards about something that looked like NAND wear problems. It's not surprising as the chips are well over 5 years old now. Those issues tend to show up when NAND is full or near full, probably because ubifs ends up not having where to migrate data when bitflips are detected (block becomes bad). I've had a quick look and found a few things that could be done:
- increase number of reserved blocks for bad block handling. For whatever reason the 3.2 kernel had this set to 1% by default, while allowed expected number of bad blocks given by manufacturer is ~2%. I've changed it accordingly.
- set reserved free space for root. Previously this was set to 0 and then the user could easily accidentally fill his NAND. Now this dangerous situation can be avoided, at least while you are not root.
SD DMA tweaks. For whatever reason prefetch and burst features were not enabled in the DMA controller, so I've enabled them. It doesn't seem to help SD card transfer speed, but helped wifi transfer speed stability (had to find a free wifi channel to get reproducible results, on channels with busy neighbor routers the speed fluctuates wildly no matter what).
Clean up. I've decided to drop some large things to relieve NAND pressure:
- swfdec - it's very old and not really useful, I've read it conflicts with modern browser PNDs.
- qtwebkit4 - mostly same as above
- samba server - don't think anyone ever used it, install it with opkg if you need it (sudo opkg install samba)
Other that that, had to merge some things to fix broken build after ED updated Debian on the server. I suspect it will not be possible to use the server to build the firmware after some more Debian updates, but maybe we won't even need to.
More detailed changelog:
DOWNLOAD AND INSTALLATION INSTRUCTIONS:* kernel: updated to 3.2.69
* kernel: merged a few performance related patches from newer kernels
* kernel: made DSP shared memory and the framebuffer accessible by debuggers (previously it would fail)
* kernel: wifi driver updated to use different power saving method, as done by TI/Android driver
* kernel: (maybe) fixed the damned charger LED
* kernel: updated aufs to the last 3.2.x release
* c64_tools: fixed system registers incorrectly being cached from DSP side, which allowed to remove unnecessary invalidate between commands (bsp)
* updated aufs-util, fixes mysterious mount.aufs failure after mount.cifs has been used at least once. Also fixes longstanding AUFS_CTL_PLINK_MAINT error often seen in pndrun logs
* fixed a bug in pnd_run.sh that's somehow triggering after mount.cifs usage
* libpnd packaging fixes (avoid multiple copies of the lib and strip it)
* added perf to feeds, you can use "opkg install perf"
* fixed netcat, it wasn't really working
* OS version is now displayed by "Upgrade pandora OS" tool
Upgrading from a previous SuperZaxxon version (1.5x or newer):
Use the "Upgrade Pandora OS" option
Please note:
- If you are updating from v1.61 or lower, it is highly recommended to do a full reflash because many system libraries have been changed in 1.70 and some users reported failures updating from v1.61 or earlier. Updating from 1.70 should be completely safe.
- Be sure to backup any important data you might have in your NAND for the above reasons.
- User-Modified configs will not be overwritten with the new version.
Upgrade instructions using the Full-Flash-Image:
Download SuperZaxxon Final v1.72 RC
Please note: Flashing the new firmware will put your unit back into a default state. All your settings and users will be lost. Of course, this does not apply to PNDs which save their stuff on the SD-Card.
To install it, simply extract the archive onto the root of your SD Card.
Insert the SD Card into the left slot. Keep R (shoulder) pressed while switching on your Pandora and select "Boot from SD1"
It will then flash the firmware onto the NAND. After it's finished, reboot your Pandora and patiently wait until the First Boot Wizard appears on the screen.
If "Boot from SD1" doesn't appear, try to reformat the SD Card using Panasonic SD Formatter, recopy the files and retry. In some cases you may have to use another SD card.
Last edited by a moderator: