Hi all, Am 28.06.2015 um 12:21 schrieb Dr. H. Nikolaus Schaller <h...@goldelico.com>:
> Today is a good day for the MiniPC / jz4730 based devices :) > > Linus has merged the jz4740.dtsi > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=78c10e556ed904d5bfbd71e9cadd8ce8f25d6982 > > 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: http://git.goldelico.com/?p=gta04-kernel.git;a=shortlog;h=refs/heads/work/hns/arch/mips/jz4730 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. BR, Nikolaus _______________________________________________ Mipsbook-devel mailing list Mipsbook-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel