Thread: PW2 diags image needed
View Single Post
Old 01-18-2022, 07:17 PM   #12
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Quote:
Originally Posted by rnbw View Post
Or try to flash the PW2 board to PW3?

I wonder why the touch was still mirrored with PW2 firmware for katadelos. Maybe there's a difference in the touchscreen connector pinout?
It's the same pinout (though possibly different voltages?) and driver; the screen stayed mirrored because the driver checks the PCB serial number when it loads and uses this value to define whether mirroring should be applied:
Code:
# From drivers/input/touchscreen/cyttsp4_mt_common.c

#define PANEL_FLIP_X   (lab126_board_is(BOARD_ID_MUSCAT_WAN) || \
                        lab126_board_is(BOARD_ID_MUSCAT_WFO) || \
                         lab126_board_is(BOARD_ID_MUSCAT_32G_WFO))
	
#define PANEL_FLIP_Y   (lab126_board_is(BOARD_ID_WHISKY_WAN) || \
                         lab126_board_is(BOARD_ID_WHISKY_WFO) || lab126_board_is(BOARD_ID_WOODY))
Quote:
Originally Posted by eddie.t.h View Post
These motherboard, despite their great similarities, are different. From the most important differences PW3 has 512MB ram, voltage switch for Flash memory. Possibly there are also differences on i2c bus. Uboot recognizes the board configuration by serial numbers. I don't know if you will be able to simply swap systems.
There's a good change that booting the firmware of a different device is possible - PW2, PW3, KT2 and KV are very similar on the software side of things and use an identical configuration for Linux + U-Boot builds. There's still a good chance that the hardware will get screwed up though.

Quote:
Originally Posted by rnbw View Post
Oh, haven't noticed the difference in RAM size. Smaller RAM is probably a showstopper.
Nah, shouldn't be - the only time that memory exhaustion is an issue is when attempting to run the new UI on a 256MB device. You can run 5.14.1 on a KT2 or PW2 without problems as long as the old UI is enabled.
katadelos is offline   Reply With Quote