[Lenny400] [Mipsbook-devel] jz4740.dtsi (JZ4730 DT upstream)
Dr. H. Nikolaus Schaller
hns at goldelico.com
Sun Jun 28 19:35:12 CEST 2015
Am 28.06.2015 um 12:21 schrieb Dr. H. Nikolaus Schaller <hns at goldelico.com>:
> Today is a good day for the MiniPC / jz4730 based devices :)
> Linus has merged the jz4740.dtsi
> into linus/master.
> So the infrastructure for writing a jz4730.dtsi and adapting drivers where needed is here.
I have plugged together sort of a sketch:
Here some notes for observations:
* the base is our h=refs/heads/4.2-rc1 tree which includes merge of the above mentioned tree (differences to linus/master are in ARM OMAP and additional device drivers)
* this code compiles but IS COMPLETELY UNTESTED
* the device is called “minibook”
* use letux_defconfig - because that is the name of our Linux distribution (and in the long run should support different devices)
* the kernel still identifies itself as 4.1.0 - because Linus has not yet officially released 4.2-rc1
* the device tree is automatically compiled into the uImage (by the Makefile coming from upstream - so I have not changed the build system, just added a minibook.dts)
* Daniel’s PM MCU driver does not compile (some structs have changed) and needs to be fixed (therefore # CONFIG_POWER_MINIPC is not set)
* the device tree is prepared to add an &i2c node but I have not yet seen any driver (not for jz4740, jz4780)
* there is no jz4730 specific code or DT config - everything is copied or taken from jz4740 (which is likely wrong)
* things like gpios, keyboard scanner, lcd, usb, RAM/flash memory have to be worked on
Comments, fixes, patches, ideas hints, criticism welcome :)
And if you want to test: beware! It may brick the device. And it probably needs access to a serial console to see what is going on. I have to find my Letux 400 with such interface first and check if it still works.
More information about the Lenny400