Essentially I compared the standard EVB (Evaluation Board) DTS against the DTS I extracted from the original android firmware. I used CSC to make a back-up of the original android firmware onto the SD card, from there I just extracted the boot.img from the back-up. Using "
extract-dtb" provided by PabloCastellano, I was able to extract a DTB, and subsequently use DTC to convert it into a readable DTS. Using comparison tools like "Meld", I focused in on the hardware differences.
I am very inexperienced and only started working on this project as a means to compare the cost to performance ratio of this TV box compared to something such as a Raspberry pi. Both the Wi-Fi and eMMC are wired to the sdmmc_ext bus instead of the normal SDIO bus. That is why, originally, I was not able to run the rk3318 legacy build off of the internal storage, it was not able to detect the "alternate" bus. If I had to guess, it is how the address to hex code conversion was done. From some porting documents I read, the proper address should be like <&gpio3 pin_the_power_tied_to active_high>, compared to 0xcd being the hex address for gpio3, but I don't know what 0x01 or 0x08 are supposed to be in EVB DTS? Any advice on how to map-out the gpio pins would be appreciated.