Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi driver fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
- Integration branch: hikey-mainline-rebase https://github.com/96boards-hikey/linux/tree/hikey-mainline-rebase
- Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm, gpu, bluetooth, ion, hisi-reset, hikey-configs. (Most of *these are backport of what we sent in maillist for community review.*)
- pre-builds are available too, if you just want to download and give it a try: https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Moving onward,
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next ( http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers... )
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
More work targeting v4.6:
DTS: need submit to hit v4.6: usb, mmc, wifi, and led.
pmic, regulator: sent v6 on 18/Jan. In maillist review.
- http://thread.gmane.org/gmane.linux.kernel/2129489
drm: v2 on 28/Nov. In maillist review. v3 will be sent in early Feb.
- http://www.spinics.net/lists/dri-devel/msg95283.html
adv7533: common driver with qualcomm dragonboard, investigations ongoing to have a single driver
Work in progress that might miss 4.6:
mmc: by early Feb., to send v1 of patch to mailing list.
-
clk: hi6220: register reset clocks for mmc: (will drop. Need re-write to use hisi-reset framework which exists in linux-next.) -
mmc: dw_mmc: hikey: add this support for high speed sd card (will refactor and send maillist).
Idle and mailbox: Reserve memory regions and enabling idle states: Resend V2 after alignment with DT maintainers:
Mailbox V3 sent out for review and discussed at Connect [2015/Oct].
- [2016/1/29] two steps:
1) add dts for reserving memory regions and enabling idle states; because MCU is quite depend on memory regions, otherwise it will introduce unstable issue for mailbox driver as well. This step targets v4.6.
2) add mailbox driver.
coresight: [2016/1/29] in v4.4, etm0 is ok. etm1~7 can cause system hang - still under investigation.
smmu: V2 [2015/Oct.]: http://thread.gmane.org/gmane.linux.ports.arm.kernel/449391
- Actually we want to combine ION and smmu together. Now ION code is not ready yet.
bluetooth: TI's driver is not fully upstreamed. Need to enable with additional patches. (Enabled on v4.4 kernel.)
HDMI audio: in-progress. v3.18 was added. v4.4 not added yet.
- Basic function is ok, but there is noise. Need to rewrite the DMA driver.
Thanks for the update, Guodong.
On Wed, Feb 3, 2016 at 1:22 PM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi driver
fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
Please note this change from https://github.com/96boards/linux which will now be used for a common kernel across boards of interest.
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm, gpu,
bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
- pre-builds are available too, if you just want to download and give it a
try: https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Moving onward,
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers...)
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
More work targeting v4.6:
DTS: need submit to hit v4.6: usb, mmc, wifi, and led.
pmic, regulator: sent v6 on 18/Jan. In maillist review.
drm: v2 on 28/Nov. In maillist review. v3 will be sent in early Feb.
adv7533: common driver with qualcomm dragonboard, investigations ongoing to have a single driver
s/adv7533/adv7511
Could you ping Xinliang @ Hisilicon to get an update on this? We haven't heard from him in several weeks.
Work in progress that might miss 4.6:
mmc: by early Feb., to send v1 of patch to mailing list.
clk: hi6220: register reset clocks for mmc: (will drop. Need re-write to use hisi-reset framework which exists in linux-next.)
mmc: dw_mmc: hikey: add this support for high speed sd card (will refactor and send maillist).
Idle and mailbox: Reserve memory regions and enabling idle states: Resend V2 after alignment with DT maintainers:
Mailbox V3 sent out for review and discussed at Connect
[2015/Oct].
- [2016/1/29] two steps:
- add dts for reserving memory regions and enabling idle states; because
MCU is quite depend on memory regions, otherwise it will introduce unstable issue for mailbox driver as well. This step targets v4.6.
- add mailbox driver.
coresight: [2016/1/29] in v4.4, etm0 is ok. etm1~7 can cause system hang - still under investigation.
smmu: V2 [2015/Oct.]: http://thread.gmane.org/gmane.linux.ports.arm.kernel/449391
- Actually we want to combine ION and smmu together. Now ION code is not
ready yet.
bluetooth: TI's driver is not fully upstreamed. Need to enable with additional patches. (Enabled on v4.4 kernel.)
HDMI audio: in-progress. v3.18 was added. v4.4 not added yet.
- Basic function is ok, but there is noise. Need to rewrite the DMA driver.
I know you could use some help rewriting this DMA driver to enable HDMI audio. Is there anything else on this list that is unassigned and could use some help?
Regards, Amit
On 3 February 2016 at 16:48, Amit Kucheria amit.kucheria@linaro.org wrote:
Thanks for the update, Guodong.
On Wed, Feb 3, 2016 at 1:22 PM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi driver
fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
Please note this change from https://github.com/96boards/linux which will now be used for a common kernel across boards of interest.
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm, gpu,
bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
- pre-builds are available too, if you just want to download and give it a
try: https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Moving onward,
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers...)
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
More work targeting v4.6:
DTS: need submit to hit v4.6: usb, mmc, wifi, and led.
pmic, regulator: sent v6 on 18/Jan. In maillist review.
drm: v2 on 28/Nov. In maillist review. v3 will be sent in early Feb.
adv7533: common driver with qualcomm dragonboard, investigations ongoing to have a single driver
s/adv7533/adv7511
Could you ping Xinliang @ Hisilicon to get an update on this? We haven't heard from him in several weeks.
Amit, sorry for late responding. will update soon.
Work in progress that might miss 4.6:
mmc: by early Feb., to send v1 of patch to mailing list.
clk: hi6220: register reset clocks for mmc: (will drop. Need re-write to use hisi-reset framework which exists in linux-next.)
mmc: dw_mmc: hikey: add this support for high speed sd card (will refactor and send maillist).
Idle and mailbox: Reserve memory regions and enabling idle states: Resend V2 after alignment with DT maintainers:
Mailbox V3 sent out for review and discussed at Connect
[2015/Oct].
- [2016/1/29] two steps:
- add dts for reserving memory regions and enabling idle states; because
MCU is quite depend on memory regions, otherwise it will introduce unstable issue for mailbox driver as well. This step targets v4.6.
- add mailbox driver.
coresight: [2016/1/29] in v4.4, etm0 is ok. etm1~7 can cause system hang - still under investigation.
smmu: V2 [2015/Oct.]: http://thread.gmane.org/gmane.linux.ports.arm.kernel/449391
- Actually we want to combine ION and smmu together. Now ION code is not
ready yet.
bluetooth: TI's driver is not fully upstreamed. Need to enable with additional patches. (Enabled on v4.4 kernel.)
HDMI audio: in-progress. v3.18 was added. v4.4 not added yet.
- Basic function is ok, but there is noise. Need to rewrite the DMA driver.
I know you could use some help rewriting this DMA driver to enable HDMI audio. Is there anything else on this list that is unassigned and could use some help?
Regards, Amit _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 3 February 2016 at 16:48, Amit Kucheria amit.kucheria@linaro.org wrote:
Thanks for the update, Guodong.
On Wed, Feb 3, 2016 at 1:22 PM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver
fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
Please note this change from https://github.com/96boards/linux which will now be used for a common kernel across boards of interest.
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm,
gpu,
bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
- pre-builds are available too, if you just want to download and give it
a
try:
https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Moving onward,
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers... )
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
More work targeting v4.6:
DTS: need submit to hit v4.6: usb, mmc, wifi, and led.
pmic, regulator: sent v6 on 18/Jan. In maillist review.
drm: v2 on 28/Nov. In maillist review. v3 will be sent in early Feb.
adv7533: common driver with qualcomm dragonboard, investigations ongoing
to
have a single driver
s/adv7533/adv7511
Could you ping Xinliang @ Hisilicon to get an update on this? We haven't heard from him in several weeks.
Work in progress that might miss 4.6:
mmc: by early Feb., to send v1 of patch to mailing list.
clk: hi6220: register reset clocks for mmc: (will drop. Need re-write to
use
hisi-reset framework which exists in linux-next.)
mmc: dw_mmc: hikey: add this support for high speed sd card (will
refactor
and send maillist).
Amit, this patch in dw_mmc is a hard one. ( https://github.com/96boards-hikey/linux/commit/2a8f3eb55492f5c228a0247b8981b...). It's hard to upstream this. But due to some silicon restrictions (I am asking for more about what that means, sorry), on v4.4, we need to add this change to make sd card work on HiKey. But this commit changed the dw_mmc core code, which is bad.
-Guodong
Idle and mailbox: Reserve memory regions and enabling idle states:
Resend V2
after alignment with DT maintainers:
Mailbox V3 sent out for review and discussed at Connect
[2015/Oct].
- [2016/1/29] two steps:
- add dts for reserving memory regions and enabling idle states; because
MCU is quite depend on memory regions, otherwise it will introduce
unstable
issue for mailbox driver as well. This step targets v4.6.
- add mailbox driver.
coresight: [2016/1/29] in v4.4, etm0 is ok. etm1~7 can cause system hang
still under investigation.
smmu: V2 [2015/Oct.]: http://thread.gmane.org/gmane.linux.ports.arm.kernel/449391
- Actually we want to combine ION and smmu together. Now ION code is not
ready yet.
bluetooth: TI's driver is not fully upstreamed. Need to enable with additional patches. (Enabled on v4.4 kernel.)
HDMI audio: in-progress. v3.18 was added. v4.4 not added yet.
- Basic function is ok, but there is noise. Need to rewrite the DMA
driver.
I know you could use some help rewriting this DMA driver to enable HDMI audio. Is there anything else on this list that is unassigned and could use some help?
Regards, Amit
On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi driver
fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
Git repo: https://github.com/96boards-hikey/linux
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm, gpu,
bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
Hi Guodong,
Can you enable i2c0 and i2c1 in these builds please? They are needed for working with mezzanine boards. I've attached an untested patch to enable it in dts. I will try to test it later today, but I've got a lot to deal with today, so it may take a few days.
g.
- pre-builds are available too, if you just want to download and give it a
try: https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Moving onward,
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers...)
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
More work targeting v4.6:
DTS: need submit to hit v4.6: usb, mmc, wifi, and led.
pmic, regulator: sent v6 on 18/Jan. In maillist review.
drm: v2 on 28/Nov. In maillist review. v3 will be sent in early Feb.
adv7533: common driver with qualcomm dragonboard, investigations ongoing to have a single driver
Work in progress that might miss 4.6:
mmc: by early Feb., to send v1 of patch to mailing list.
clk: hi6220: register reset clocks for mmc: (will drop. Need re-write to use hisi-reset framework which exists in linux-next.)
mmc: dw_mmc: hikey: add this support for high speed sd card (will refactor and send maillist).
Idle and mailbox: Reserve memory regions and enabling idle states: Resend V2 after alignment with DT maintainers:
Mailbox V3 sent out for review and discussed at Connect
[2015/Oct].
- [2016/1/29] two steps:
- add dts for reserving memory regions and enabling idle states; because
MCU is quite depend on memory regions, otherwise it will introduce unstable issue for mailbox driver as well. This step targets v4.6.
- add mailbox driver.
coresight: [2016/1/29] in v4.4, etm0 is ok. etm1~7 can cause system hang - still under investigation.
smmu: V2 [2015/Oct.]: http://thread.gmane.org/gmane.linux.ports.arm.kernel/449391
- Actually we want to combine ION and smmu together. Now ION code is not
ready yet.
bluetooth: TI's driver is not fully upstreamed. Need to enable with additional patches. (Enabled on v4.4 kernel.)
HDMI audio: in-progress. v3.18 was added. v4.4 not added yet.
- Basic function is ok, but there is noise. Need to rewrite the DMA driver.
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On Wed, Feb 03, 2016 at 03:52:09PM +0800, Guodong Xu wrote:
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi driver
fix, and tsensor (thermal)
Of these only the clock, PSCI and the UART appear to be included in the DTS. If a feature is not enabled in the DTS most people would not understand it as being supported upstream for the board since there is no way for someone to actually use any of these features if they use mainline.
- hikey can boot using vanilla v4.4 kernel and defconfig.
It can boot to serial console with a ramdisk, nothing else. There is a serious discrepency between the features you are reporting as supported upstream and the features that are actually supported upstream, the set supported upstream is has not changed substantially since merge.
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Again, this does not appear in the DT and is therefore unusable for anyone using mainline.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next ( http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers... )
This seems to already be in Linus' tree so unless some major problem is discovered it should be in v4.5.
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
This does not appear to be part of the kernel development process, it does not appear in -next and I can't see any prior cases where a pull request from this tree has made it into -next. I don't see that there is any reasonable expectation that anything there will make it into mainline.
Like I said above there is a big difference between what you are reporting as upstream and the features that are practically usable upstream. This is creating a lot of frustration on the part of potential users who want to work on mainline, both with the lack of features itself and with the fact that lists of supported features are typically substantially inaccurate which makes people feel they are being mislead.
On 3 February 2016 at 18:20, Grant Likely grant.likely@linaro.org wrote:
On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver
fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
Git repo: https://github.com/96boards-hikey/linux
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm,
gpu,
bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
Hi Guodong,
Can you enable i2c0 and i2c1 in these builds please? They are needed for working with mezzanine boards. I've attached an untested patch to enable it in dts. I will try to test it later today, but I've got a lot to deal with today, so it may take a few days.
Updated. Thanks Grant for reminding me this.
To git@github.com:96boards-hikey/linux.git -> hikey-mainline-rebase (forced update)
Build command goes: make ARCH=arm64 defconfig; make ARCH=arm64 Image modules -j20; make ARCH=arm64 hisilicon/hi6220-hikey.dtb
-Guodong
g.
- pre-builds are available too, if you just want to download and give it
a
try:
https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Moving onward,
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers... )
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
More work targeting v4.6:
DTS: need submit to hit v4.6: usb, mmc, wifi, and led.
pmic, regulator: sent v6 on 18/Jan. In maillist review.
drm: v2 on 28/Nov. In maillist review. v3 will be sent in early Feb.
adv7533: common driver with qualcomm dragonboard, investigations ongoing
to
have a single driver
Work in progress that might miss 4.6:
mmc: by early Feb., to send v1 of patch to mailing list.
clk: hi6220: register reset clocks for mmc: (will drop. Need re-write to
use
hisi-reset framework which exists in linux-next.)
mmc: dw_mmc: hikey: add this support for high speed sd card (will
refactor
and send maillist).
Idle and mailbox: Reserve memory regions and enabling idle states:
Resend V2
after alignment with DT maintainers:
Mailbox V3 sent out for review and discussed at Connect
[2015/Oct].
- [2016/1/29] two steps:
- add dts for reserving memory regions and enabling idle states; because
MCU is quite depend on memory regions, otherwise it will introduce
unstable
issue for mailbox driver as well. This step targets v4.6.
- add mailbox driver.
coresight: [2016/1/29] in v4.4, etm0 is ok. etm1~7 can cause system hang
still under investigation.
smmu: V2 [2015/Oct.]: http://thread.gmane.org/gmane.linux.ports.arm.kernel/449391
- Actually we want to combine ION and smmu together. Now ION code is not
ready yet.
bluetooth: TI's driver is not fully upstreamed. Need to enable with additional patches. (Enabled on v4.4 kernel.)
HDMI audio: in-progress. v3.18 was added. v4.4 not added yet.
- Basic function is ok, but there is noise. Need to rewrite the DMA
driver.
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 3 February 2016 at 20:04, Mark Brown broonie@kernel.org wrote:
On Wed, Feb 03, 2016 at 03:52:09PM +0800, Guodong Xu wrote:
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver
fix, and tsensor (thermal)
Of these only the clock, PSCI and the UART appear to be included in the DTS. If a feature is not enabled in the DTS most people would not understand it as being supported upstream for the board since there is no way for someone to actually use any of these features if they use mainline.
- hikey can boot using vanilla v4.4 kernel and defconfig.
It can boot to serial console with a ramdisk, nothing else. There is a serious discrepency between the features you are reporting as supported upstream and the features that are actually supported upstream, the set supported upstream is has not changed substantially since merge.
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Again, this does not appear in the DT and is therefore unusable for anyone using mainline.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers...
)
This seems to already be in Linus' tree so unless some major problem is discovered it should be in v4.5.
Right. Now it's in v4.5-rc2.
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
This does not appear to be part of the kernel development process, it does not appear in -next and I can't see any prior cases where a pull request from this tree has made it into -next. I don't see that there is any reasonable expectation that anything there will make it into mainline.
Like I said above there is a big difference between what you are reporting as upstream and the features that are practically usable upstream. This is creating a lot of frustration on the part of potential users who want to work on mainline, both with the lack of features itself and with the fact that lists of supported features are typically substantially inaccurate which makes people feel they are being mislead.
Got your point. So DTS changes will be upstreamed at a priority.
Temporary solution, (I know people working on mainline hate that..), we have a branch with these dts changes, hope it can help. https://github.com/96boards-hikey/linux/tree/hikey-tracking-dts
-Guodong
On Wed, Feb 03, 2016 at 11:19:48PM +0800, Guodong Xu wrote:
On 3 February 2016 at 20:04, Mark Brown broonie@kernel.org wrote:
On Wed, Feb 03, 2016 at 03:52:09PM +0800, Guodong Xu wrote:
Like I said above there is a big difference between what you are reporting as upstream and the features that are practically usable upstream. This is creating a lot of frustration on the part of potential users who want to work on mainline, both with the lack of features itself and with the fact that lists of supported features are typically substantially inaccurate which makes people feel they are being mislead.
Got your point. So DTS changes will be upstreamed at a priority.
Thanks.
Temporary solution, (I know people working on mainline hate that..), we have a branch with these dts changes, hope it can help. https://github.com/96boards-hikey/linux/tree/hikey-tracking-dts
The priority has to be to get things into mainline, obviously people can already do things like grab the DT from one of the vendor branches. If it's taking any substantial time to maintain that branch then at least from my point of view it'd be better spent on the actual upstreaming.
On Wed, Feb 3, 2016 at 2:52 PM, Guodong Xu guodong.xu@linaro.org wrote:
On 3 February 2016 at 18:20, Grant Likely grant.likely@linaro.org wrote:
On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
Git repo: https://github.com/96boards-hikey/linux
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm,
gpu, bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
Hi Guodong,
Can you enable i2c0 and i2c1 in these builds please? They are needed for working with mezzanine boards. I've attached an untested patch to enable it in dts. I will try to test it later today, but I've got a lot to deal with today, so it may take a few days.
Updated. Thanks Grant for reminding me this.
To git@github.com:96boards-hikey/linux.git -> hikey-mainline-rebase (forced update)
Build command goes: make ARCH=arm64 defconfig; make ARCH=arm64 Image modules -j20; make ARCH=arm64 hisilicon/hi6220-hikey.dtb
-Guodong
Hi Guodong,
Just tested, and that worked to create the i2c devices (but I had to enable CONFIG_I2C_CHARDEV to get the userspace interface). However, i2c bus 0 and 1 aren't working. i2cdetect appears to do the right thing, but the i2c transaction isn't getting out to the external bus. Is there some pin config that needs to be adjusted for HiKey for i2c?
g.
On Wed, Feb 3, 2016 at 5:21 PM, Grant Likely grant.likely@linaro.org wrote:
On Wed, Feb 3, 2016 at 2:52 PM, Guodong Xu guodong.xu@linaro.org wrote:
On 3 February 2016 at 18:20, Grant Likely grant.likely@linaro.org wrote:
On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
Git repo: https://github.com/96boards-hikey/linux
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm,
gpu, bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
Hi Guodong,
Can you enable i2c0 and i2c1 in these builds please? They are needed for working with mezzanine boards. I've attached an untested patch to enable it in dts. I will try to test it later today, but I've got a lot to deal with today, so it may take a few days.
Updated. Thanks Grant for reminding me this.
To git@github.com:96boards-hikey/linux.git -> hikey-mainline-rebase (forced update)
Build command goes: make ARCH=arm64 defconfig; make ARCH=arm64 Image modules -j20; make ARCH=arm64 hisilicon/hi6220-hikey.dtb
-Guodong
Hi Guodong,
Just tested, and that worked to create the i2c devices (but I had to enable CONFIG_I2C_CHARDEV to get the userspace interface). However, i2c bus 0 and 1 aren't working. i2cdetect appears to do the right thing, but the i2c transaction isn't getting out to the external bus. Is there some pin config that needs to be adjusted for HiKey for i2c?
I just checked. The 4.4 kernel does not enable the 1.8V voltage rail on the LS expansion connector. Do you know how to enable it?
g.
On 2016/2/3 20:04, Mark Brown wrote:
On Wed, Feb 03, 2016 at 03:52:09PM +0800, Guodong Xu wrote:
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi driver
fix, and tsensor (thermal)
Of these only the clock, PSCI and the UART appear to be included in the DTS. If a feature is not enabled in the DTS most people would not understand it as being supported upstream for the board since there is no way for someone to actually use any of these features if they use mainline.
- hikey can boot using vanilla v4.4 kernel and defconfig.
It can boot to serial console with a ramdisk, nothing else. There is a serious discrepency between the features you are reporting as supported upstream and the features that are actually supported upstream, the set supported upstream is has not changed substantially since merge.
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Again, this does not appear in the DT and is therefore unusable for anyone using mainline.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next ( http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers... )
This seems to already be in Linus' tree so unless some major problem is discovered it should be in v4.5.
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
This does not appear to be part of the kernel development process, it does not appear in -next and I can't see any prior cases where a pull request from this tree has made it into -next. I don't see that there is any reasonable expectation that anything there will make it into mainline.
Like I said above there is a big difference between what you are reporting as upstream and the features that are practically usable upstream. This is creating a lot of frustration on the part of potential users who want to work on mainline, both with the lack of features itself and with the fact that lists of supported features are typically substantially inaccurate which makes people feel they are being mislead.
Hi Mark,
Can you help review the regualtor V7 patches?
It's already reviewed by haojian.zhuang. He thinks it is okay now.
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On Thu, Feb 04, 2016 at 09:57:01AM +0800, Chen Feng wrote:
Can you help review the regualtor V7 patches?
It's already reviewed by haojian.zhuang. He thinks it is okay now.
Please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical bug fixes) please allow at least a couple of weeks for review. You only posted the most recent version on Monday, this is not the only code I have to review and there have been quite a few problems with things like review comments being ignored which will tend to affect how things get prioritised.
Hi Guodong,
I tried to follow step by step procedure on the User Manual on Sensor Board Rev C, and found many of the USB-Ethernet dongle are turned off compare to 3.18 release.
It would be nice if the new release will be able to work completely with the Sensor Board.
I will send you the patch.
Akira
On 02/04/2016 03:15 AM, Grant Likely wrote:
On Wed, Feb 3, 2016 at 5:21 PM, Grant Likely grant.likely@linaro.org wrote:
On Wed, Feb 3, 2016 at 2:52 PM, Guodong Xu guodong.xu@linaro.org wrote:
On 3 February 2016 at 18:20, Grant Likely grant.likely@linaro.org wrote:
On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
Git repo: https://github.com/96boards-hikey/linux
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm,
gpu, bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
Hi Guodong,
Can you enable i2c0 and i2c1 in these builds please? They are needed for working with mezzanine boards. I've attached an untested patch to enable it in dts. I will try to test it later today, but I've got a lot to deal with today, so it may take a few days.
Updated. Thanks Grant for reminding me this.
To git@github.com:96boards-hikey/linux.git -> hikey-mainline-rebase (forced update)
Build command goes: make ARCH=arm64 defconfig; make ARCH=arm64 Image modules -j20; make ARCH=arm64 hisilicon/hi6220-hikey.dtb
-Guodong
Hi Guodong,
Just tested, and that worked to create the i2c devices (but I had to enable CONFIG_I2C_CHARDEV to get the userspace interface). However, i2c bus 0 and 1 aren't working. i2cdetect appears to do the right thing, but the i2c transaction isn't getting out to the external bus. Is there some pin config that needs to be adjusted for HiKey for i2c?
I just checked. The 4.4 kernel does not enable the 1.8V voltage rail on the LS expansion connector. Do you know how to enable it?
g. _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
From 5308bdbc06c223f00660f8b793872185ce8ff22b Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 19:59:56 +0900 Subject: [PATCH] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org --- arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..207d1b6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +CONFIG_USB_NET_CDC_NCM=y +CONFIG_USB_NET_DM9601=y +CONFIG_USB_NET_SR9800=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_NET1080=y +CONFIG_USB_NET_PLUSB=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_CDC_SUBSET=y +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +CONFIG_USB_NET_ZAURUS=y CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
On Thu, Feb 4, 2016 at 10:16 AM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From 5308bdbc06c223f00660f8b793872185ce8ff22b Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 19:59:56 +0900 Subject: [PATCH] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..207d1b6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +CONFIG_USB_NET_CDC_NCM=y +CONFIG_USB_NET_DM9601=y +CONFIG_USB_NET_SR9800=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_NET1080=y +CONFIG_USB_NET_PLUSB=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_CDC_SUBSET=y +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +CONFIG_USB_NET_ZAURUS=y CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
I would like to see if we could have such options available as a config fragment instead, and I know Amit is also working on getting a new kernel config fragments tree in place.
The other question I had, for which tree/branch are you targeting this patch?
Thanks,
On 02/04/2016 09:30 PM, Ricardo Salveti wrote:
On Thu, Feb 4, 2016 at 10:16 AM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From 5308bdbc06c223f00660f8b793872185ce8ff22b Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 19:59:56 +0900 Subject: [PATCH] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..207d1b6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +CONFIG_USB_NET_CDC_NCM=y +CONFIG_USB_NET_DM9601=y +CONFIG_USB_NET_SR9800=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_NET1080=y +CONFIG_USB_NET_PLUSB=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_CDC_SUBSET=y +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +CONFIG_USB_NET_ZAURUS=y CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
I would like to see if we could have such options available as a config fragment instead, and I know Amit is also working on getting a new kernel config fragments tree in place.
The other question I had, for which tree/branch are you targeting this patch?
This patch was made against the first postage from Guodong,
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
- Integration branch: hikey-mainline-rebase
I also prefer this to be included to Amit's work.
Would like to avoid adding similar patches every time on every HiKey release.
Akira
Thanks,
On Thu, Feb 4, 2016 at 12:46 PM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
On 02/04/2016 09:30 PM, Ricardo Salveti wrote:
On Thu, Feb 4, 2016 at 10:16 AM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From 5308bdbc06c223f00660f8b793872185ce8ff22b Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 19:59:56 +0900 Subject: [PATCH] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..207d1b6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +CONFIG_USB_NET_CDC_NCM=y +CONFIG_USB_NET_DM9601=y +CONFIG_USB_NET_SR9800=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_NET1080=y +CONFIG_USB_NET_PLUSB=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_CDC_SUBSET=y +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +CONFIG_USB_NET_ZAURUS=y CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
I would like to see if we could have such options available as a config fragment instead, and I know Amit is also working on getting a new kernel config fragments tree in place.
The other question I had, for which tree/branch are you targeting this patch?
This patch was made against the first postage from Guodong,
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
- Integration branch: hikey-mainline-rebase
I also prefer this to be included to Amit's work.
Would like to avoid adding similar patches every time on every HiKey release.
These should be enabled as modules instead of built-in
g.
Akira
Thanks,
On 4 February 2016 at 02:15, Grant Likely grant.likely@linaro.org wrote:
On Wed, Feb 3, 2016 at 5:21 PM, Grant Likely grant.likely@linaro.org wrote:
On Wed, Feb 3, 2016 at 2:52 PM, Guodong Xu guodong.xu@linaro.org
wrote:
On 3 February 2016 at 18:20, Grant Likely grant.likely@linaro.org
wrote:
On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu guodong.xu@linaro.org
wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and
our
upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch
is
hosted here:
Git repo: https://github.com/96boards-hikey/linux
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm,
pm,
gpu, bluetooth, ion, hisi-reset, hikey-configs. (Most of these are
backport
of what we sent in maillist for community review.)
Hi Guodong,
Can you enable i2c0 and i2c1 in these builds please? They are needed for working with mezzanine boards. I've attached an untested patch to enable it in dts. I will try to test it later today, but I've got a lot to deal with today, so it may take a few days.
Updated. Thanks Grant for reminding me this.
To git@github.com:96boards-hikey/linux.git -> hikey-mainline-rebase (forced update)
Build command goes: make ARCH=arm64 defconfig; make ARCH=arm64 Image modules -j20; make ARCH=arm64 hisilicon/hi6220-hikey.dtb
-Guodong
Hi Guodong,
Just tested, and that worked to create the i2c devices (but I had to enable CONFIG_I2C_CHARDEV to get the userspace interface). However, i2c bus 0 and 1 aren't working. i2cdetect appears to do the right thing, but the i2c transaction isn't getting out to the external bus. Is there some pin config that needs to be adjusted for HiKey for i2c?
I just checked. The 4.4 kernel does not enable the 1.8V voltage rail on the LS expansion connector. Do you know how to enable it?
I found the root cause. There is a bug in regulator driver, which make enabling of ldo21 1.8V fail.
I fixed the issue, and together with CONFIG_I2C_CHARDEV enabled and other changes, I uploaded a new 'hikey-mainline-rebase' branch to https://github.com/96boards-hikey/linux
I2C should work for you. :)
-Guodong
g.
On 4 February 2016 at 09:57, Chen Feng puck.chen@hisilicon.com wrote:
On 2016/2/3 20:04, Mark Brown wrote:
On Wed, Feb 03, 2016 at 03:52:09PM +0800, Guodong Xu wrote:
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi
driver
fix, and tsensor (thermal)
Of these only the clock, PSCI and the UART appear to be included in the DTS. If a feature is not enabled in the DTS most people would not understand it as being supported upstream for the board since there is no way for someone to actually use any of these features if they use mainline.
- hikey can boot using vanilla v4.4 kernel and defconfig.
It can boot to serial console with a ramdisk, nothing else. There is a serious discrepency between the features you are reporting as supported upstream and the features that are actually supported upstream, the set supported upstream is has not changed substantially since merge.
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Again, this does not appear in the DT and is therefore unusable for anyone using mainline.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers...
)
This seems to already be in Linus' tree so unless some major problem is discovered it should be in v4.5.
DTS: in maintainer's git repo: <https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
This does not appear to be part of the kernel development process, it does not appear in -next and I can't see any prior cases where a pull request from this tree has made it into -next. I don't see that there is any reasonable expectation that anything there will make it into mainline.
Like I said above there is a big difference between what you are reporting as upstream and the features that are practically usable upstream. This is creating a lot of frustration on the part of potential users who want to work on mainline, both with the lack of features itself and with the fact that lists of supported features are typically substantially inaccurate which makes people feel they are being mislead.
Hi Mark,
Can you help review the regualtor V7 patches?
It's already reviewed by haojian.zhuang. He thinks it is okay now.
Chenfeng, I integrated your v7 patch to HiKey. And it still has the problem reported by Grant (ldo21 1.8V never enabled).
I checked more, here is a bug fix. In one word, .enable_mask takes bit mask, not bit number.
-Guodong
docularxu@docularxu-ThinkPad-T440p:~/Huawei/v8r2/v8r2-kernel-3$ git show 28664a33b45a52b23bd1a68b5f27a959dde033f3 commit 28664a33b45a52b23bd1a68b5f27a959dde033f3 Author: Guodong Xu guodong.xu@linaro.org Date: Thu Feb 4 21:05:30 2016 +0800
regulator: hi655x: bug fix, cmask should be BIT mask
Signed-off-by: Guodong Xu guodong.xu@linaro.org
diff --git a/drivers/regulator/hi655x-regulator.c b/drivers/regulator/hi655x-regulator.c index bca15ed..9074355 100644 --- a/drivers/regulator/hi655x-regulator.c +++ b/drivers/regulator/hi655x-regulator.c @@ -33,7 +33,6 @@ struct hi655x_regulator { struct regulator_desc rdesc; };
-/* LDO7 & LDO10 */ static const unsigned int ldo7_voltages[] = { 1800000, 1850000, 2850000, 2900000, 3000000, 3100000, 3200000, 3300000, @@ -129,7 +128,7 @@ static struct regulator_ops hi655x_ldo_linear_ops = { .vsel_reg = HI655X_BUS_ADDR(vreg), \ .vsel_mask = vmask, \ .enable_reg = HI655X_BUS_ADDR(ereg), \ - .enable_mask = cmask, \ + .enable_mask = BIT(cmask), \ }, \ .disable_reg = HI655X_BUS_ADDR(dreg), \ .status_reg = HI655X_BUS_ADDR(sreg), \ @@ -149,11 +148,10 @@ static struct regulator_ops hi655x_ldo_linear_ops = { .min_uV = minv, \ .n_voltages = nvolt, \ .uV_step = vstep, \ - .uV_step = vstep, \ .vsel_reg = HI655X_BUS_ADDR(vreg), \ .vsel_mask = vmask, \ .enable_reg = HI655X_BUS_ADDR(ereg), \ - .enable_mask = cmask, \ + .enable_mask = BIT(cmask), \ }, \ .disable_reg = HI655X_BUS_ADDR(dreg), \ .status_reg = HI655X_BUS_ADDR(sreg), \
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 02/04/2016 10:48 PM, Guodong Xu wrote:
On 4 February 2016 at 02:15, Grant Likely <grant.likely@linaro.org mailto:grant.likely@linaro.org> wrote:
On Wed, Feb 3, 2016 at 5:21 PM, Grant Likely <grant.likely@linaro.org <mailto:grant.likely@linaro.org>> wrote: > On Wed, Feb 3, 2016 at 2:52 PM, Guodong Xu <guodong.xu@linaro.org <mailto:guodong.xu@linaro.org>> wrote: >> >> >> On 3 February 2016 at 18:20, Grant Likely <grant.likely@linaro.org <mailto:grant.likely@linaro.org>> wrote: >>> >>> On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu <guodong.xu@linaro.org <mailto:guodong.xu@linaro.org>> wrote: >>> > Hi, all >>> > >>> > >>> > Here is a summary and status report about HiKey in vanilla linux and our >>> > upstreaming plan. >>> > >>> > >>> > As of v4.4, already upstreamed: >>> > >>> > - clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi >>> > driver >>> > fix, and tsensor (thermal) >>> > >>> > - hikey can boot using vanilla v4.4 kernel and defconfig. >>> > >>> > >>> > Based on v4.4, topic branches are available, and integration branch is >>> > hosted here: >>> > >>> > - Git repo: https://github.com/96boards-hikey/linux >>> > >>> > - Integration branch: hikey-mainline-rebase >>> > >>> > - Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm, >>> > gpu, >>> > bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport >>> > of >>> > what we sent in maillist for community review.) >>> >>> Hi Guodong, >>> >>> Can you enable i2c0 and i2c1 in these builds please? They are needed >>> for working with mezzanine boards. I've attached an untested patch to >>> enable it in dts. I will try to test it later today, but I've got a >>> lot to deal with today, so it may take a few days. >> >> >> Updated. Thanks Grant for reminding me this. >> >> To git@github.com:96boards-hikey/linux.git >> -> hikey-mainline-rebase (forced update) >> >> Build command goes: >> make ARCH=arm64 defconfig; >> make ARCH=arm64 Image modules -j20; >> make ARCH=arm64 hisilicon/hi6220-hikey.dtb >> >> -Guodong > > Hi Guodong, > > Just tested, and that worked to create the i2c devices (but I had to > enable CONFIG_I2C_CHARDEV to get the userspace interface). However, > i2c bus 0 and 1 aren't working. i2cdetect appears to do the right > thing, but the i2c transaction isn't getting out to the external bus. > Is there some pin config that needs to be adjusted for HiKey for i2c? I just checked. The 4.4 kernel does not enable the 1.8V voltage rail on the LS expansion connector. Do you know how to enable it?
I found the root cause. There is a bug in regulator driver, which make enabling of ldo21 1.8V fail.
I fixed the issue, and together with CONFIG_I2C_CHARDEV enabled and other changes, I uploaded a new 'hikey-mainline-rebase' branch to https://github.com/96boards-hikey/linux
I2C should work for you. :)
Nice! :)
Another found is that the pre-builds bellow seem to stop at UEFI if trying to boot from SD card with linaro rootfs.
community review.)
- pre-builds are available too, if you just want to download and give it a try: https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Would you mind checking it?
Akira
-Guodong
g.
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 02/04/2016 10:30 PM, Grant Likely wrote:
On Thu, Feb 4, 2016 at 12:46 PM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
On 02/04/2016 09:30 PM, Ricardo Salveti wrote:
On Thu, Feb 4, 2016 at 10:16 AM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From 5308bdbc06c223f00660f8b793872185ce8ff22b Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 19:59:56 +0900 Subject: [PATCH] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..207d1b6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +CONFIG_USB_NET_CDC_NCM=y +CONFIG_USB_NET_DM9601=y +CONFIG_USB_NET_SR9800=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_NET1080=y +CONFIG_USB_NET_PLUSB=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_CDC_SUBSET=y +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +CONFIG_USB_NET_ZAURUS=y CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
I would like to see if we could have such options available as a config fragment instead, and I know Amit is also working on getting a new kernel config fragments tree in place.
The other question I had, for which tree/branch are you targeting this patch?
This patch was made against the first postage from Guodong,
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
- Integration branch: hikey-mainline-rebase
I also prefer this to be included to Amit's work.
Would like to avoid adding similar patches every time on every HiKey release.
These should be enabled as modules instead of built-in
Thanks for the comments, I will respin the patch.
Akira
g.
Akira
Thanks,
From ec8edb89e63e35f2916ddcd192432b92aefa7b98 Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 23:33:24 +0900 Subject: [PATCH v2] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Changelog: v2: Changed drivers to be as modules instead of built-in.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org --- arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..b6927b2 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=m +CONFIG_USB_RTL8150=m +CONFIG_USB_RTL8152=m +CONFIG_USB_USBNET=m +CONFIG_USB_NET_AX8817X=m +CONFIG_USB_NET_AX88179_178A=m +CONFIG_USB_NET_CDCETHER=m +CONFIG_USB_NET_CDC_NCM=m +CONFIG_USB_NET_DM9601=m +CONFIG_USB_NET_SR9800=m +CONFIG_USB_NET_SMSC75XX=m +CONFIG_USB_NET_SMSC95XX=m +CONFIG_USB_NET_NET1080=m +CONFIG_USB_NET_PLUSB=m +CONFIG_USB_NET_MCS7830=m +CONFIG_USB_NET_CDC_SUBSET=m +CONFIG_USB_BELKIN=m +CONFIG_USB_ARMLINUX=m +CONFIG_USB_NET_ZAURUS=m CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
On Thu, Feb 4, 2016 at 6:16 PM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
On 02/04/2016 09:30 PM, Ricardo Salveti wrote:
On Thu, Feb 4, 2016 at 10:16 AM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From 5308bdbc06c223f00660f8b793872185ce8ff22b Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 19:59:56 +0900 Subject: [PATCH] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..207d1b6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +CONFIG_USB_NET_CDC_NCM=y +CONFIG_USB_NET_DM9601=y +CONFIG_USB_NET_SR9800=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_NET1080=y +CONFIG_USB_NET_PLUSB=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_CDC_SUBSET=y +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +CONFIG_USB_NET_ZAURUS=y CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
I would like to see if we could have such options available as a config fragment instead, and I know Amit is also working on getting a new kernel config fragments tree in place.
The other question I had, for which tree/branch are you targeting this patch?
This patch was made against the first postage from Guodong,
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
- Integration branch: hikey-mainline-rebase
I also prefer this to be included to Amit's work.
It already is[1]. And they're already modules as Grant requested.
Would like to avoid adding similar patches every time on every HiKey release.
Now I'm working to separate out this functionality into config fragments (as changes on top of linux-linaro configs). Here is a draft[2] of what that might look like. So far I've only focused on core kernel features. I need to separate out the drivers out into their own fragments next (e.g. common-usb-modules, sound, filesystems-extra) after I'm done publishing a stable consolidated 4.4 kernel.
There is also the question of how can someone import these fragments into their own trees efficiently. I'm think makefile targets for common cases (e.g. 96boards, enterprise, mobile) that merge a given set of fragments together. But other ideas are welcome.
Cheers, Amit
[1] https://git.linaro.org/people/amit.kucheria/kernel.git/blob/refs/heads/96b-k... [2] https://git.linaro.org/people/amit.kucheria/kernel-configs.git/tree/refs/hea...
Merged into hikey-tracking-config. I will push to git@github.com:96boards-hikey/linux.git (fetch) later today.
Thanks. -Guodong
On 4 February 2016 at 22:36, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From ec8edb89e63e35f2916ddcd192432b92aefa7b98 Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 23:33:24 +0900 Subject: [PATCH v2] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Changelog: v2: Changed drivers to be as modules instead of built-in.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..b6927b2 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=m +CONFIG_USB_RTL8150=m +CONFIG_USB_RTL8152=m +CONFIG_USB_USBNET=m +CONFIG_USB_NET_AX8817X=m +CONFIG_USB_NET_AX88179_178A=m +CONFIG_USB_NET_CDCETHER=m +CONFIG_USB_NET_CDC_NCM=m +CONFIG_USB_NET_DM9601=m +CONFIG_USB_NET_SR9800=m +CONFIG_USB_NET_SMSC75XX=m +CONFIG_USB_NET_SMSC95XX=m +CONFIG_USB_NET_NET1080=m +CONFIG_USB_NET_PLUSB=m +CONFIG_USB_NET_MCS7830=m +CONFIG_USB_NET_CDC_SUBSET=m +CONFIG_USB_BELKIN=m +CONFIG_USB_ARMLINUX=m +CONFIG_USB_NET_ZAURUS=m CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m -- 1.9.1
On 02/05/2016 03:07 AM, Amit Kucheria wrote:
On Thu, Feb 4, 2016 at 6:16 PM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
On 02/04/2016 09:30 PM, Ricardo Salveti wrote:
On Thu, Feb 4, 2016 at 10:16 AM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From 5308bdbc06c223f00660f8b793872185ce8ff22b Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 19:59:56 +0900 Subject: [PATCH] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..207d1b6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +CONFIG_USB_NET_CDC_NCM=y +CONFIG_USB_NET_DM9601=y +CONFIG_USB_NET_SR9800=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_NET1080=y +CONFIG_USB_NET_PLUSB=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_CDC_SUBSET=y +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +CONFIG_USB_NET_ZAURUS=y CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
I would like to see if we could have such options available as a config fragment instead, and I know Amit is also working on getting a new kernel config fragments tree in place.
The other question I had, for which tree/branch are you targeting this patch?
This patch was made against the first postage from Guodong,
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
- Integration branch: hikey-mainline-rebase
I also prefer this to be included to Amit's work.
It already is[1]. And they're already modules as Grant requested.
Great!
Akria
Would like to avoid adding similar patches every time on every HiKey release.
Now I'm working to separate out this functionality into config fragments (as changes on top of linux-linaro configs). Here is a draft[2] of what that might look like. So far I've only focused on core kernel features. I need to separate out the drivers out into their own fragments next (e.g. common-usb-modules, sound, filesystems-extra) after I'm done publishing a stable consolidated 4.4 kernel.
There is also the question of how can someone import these fragments into their own trees efficiently. I'm think makefile targets for common cases (e.g. 96boards, enterprise, mobile) that merge a given set of fragments together. But other ideas are welcome.
Cheers, Amit
[1] https://git.linaro.org/people/amit.kucheria/kernel.git/blob/refs/heads/96b-k... [2] https://git.linaro.org/people/amit.kucheria/kernel-configs.git/tree/refs/hea...
Hi Guodong,
I found that after the git pull today from https://github.com/96boards-hikey/linux it fails to build just because CONFIG_MODULES=y is missing.
I will send you the patch.
Akira
On 02/05/2016 11:41 AM, Guodong Xu wrote:
Merged into hikey-tracking-config. I will push to git@github.com:96boards-hikey/linux.git (fetch) later today.
Thanks. -Guodong
On 4 February 2016 at 22:36, Akira Tsukamoto <akira.tsukamoto@linaro.org mailto:akira.tsukamoto@linaro.org> wrote:
From ec8edb89e63e35f2916ddcd192432b92aefa7b98 Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto <akira.tsukamoto@linaro.org <mailto:akira.tsukamoto@linaro.org>> Date: Thu, 4 Feb 2016 23:33:24 +0900 Subject: [PATCH v2] ARM64: defconfig: enable several common USB network adapters The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory. Changelog: v2: Changed drivers to be as modules instead of built-in. Signed-off-by: Akira Tsukamoto <akira.tsukamoto@linaro.org <mailto:akira.tsukamoto@linaro.org>> --- arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..b6927b2 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=m +CONFIG_USB_RTL8150=m +CONFIG_USB_RTL8152=m +CONFIG_USB_USBNET=m +CONFIG_USB_NET_AX8817X=m +CONFIG_USB_NET_AX88179_178A=m +CONFIG_USB_NET_CDCETHER=m +CONFIG_USB_NET_CDC_NCM=m +CONFIG_USB_NET_DM9601=m +CONFIG_USB_NET_SR9800=m +CONFIG_USB_NET_SMSC75XX=m +CONFIG_USB_NET_SMSC95XX=m +CONFIG_USB_NET_NET1080=m +CONFIG_USB_NET_PLUSB=m +CONFIG_USB_NET_MCS7830=m +CONFIG_USB_NET_CDC_SUBSET=m +CONFIG_USB_BELKIN=m +CONFIG_USB_ARMLINUX=m +CONFIG_USB_NET_ZAURUS=m CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m -- 1.9.1
From b7d40789be1c53741a9fe63a11e7555cbd301679 Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Fri, 5 Feb 2016 17:57:25 +0900 Subject: [PATCH] ARM64: hikey_defconfig: fix build error for modules
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org --- arch/arm64/configs/hikey_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm64/configs/hikey_defconfig b/arch/arm64/configs/hikey_defconfig index 1b1f5d0..60e85bf 100644 --- a/arch/arm64/configs/hikey_defconfig +++ b/arch/arm64/configs/hikey_defconfig @@ -37,6 +37,8 @@ CONFIG_KALLSYMS_ALL=y # CONFIG_COMPAT_BRK is not set CONFIG_PROFILING=y CONFIG_JUMP_LABEL=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set CONFIG_PARTITION_ADVANCED=y # CONFIG_IOSCHED_DEADLINE is not set
No, Akira. We don't need this.
To build a kernel for debian, you do (NOTE: defconfig): export LOCALVERSION="-linaro-hikey" make distclean; make ARCH=arm64 defconfig; make ARCH=arm64 Image modules -j20; make ARCH=arm64 hisilicon/hi6220-hikey.dtb
And, hikey_defconfig is a config fragment for Android which needs to be used together with defconfig.
-Guodong
On 5 February 2016 at 16:58, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From b7d40789be1c53741a9fe63a11e7555cbd301679 Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Fri, 5 Feb 2016 17:57:25 +0900 Subject: [PATCH] ARM64: hikey_defconfig: fix build error for modules
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/hikey_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm64/configs/hikey_defconfig b/arch/arm64/configs/hikey_defconfig index 1b1f5d0..60e85bf 100644 --- a/arch/arm64/configs/hikey_defconfig +++ b/arch/arm64/configs/hikey_defconfig @@ -37,6 +37,8 @@ CONFIG_KALLSYMS_ALL=y # CONFIG_COMPAT_BRK is not set CONFIG_PROFILING=y CONFIG_JUMP_LABEL=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set CONFIG_PARTITION_ADVANCED=y
# CONFIG_IOSCHED_DEADLINE is not set
1.9.1
HI Guodong,
I found another problem with the 4.4 branch on HiKey. ttyAMA2 (UART0 on the expansion port) is not working anymore.
g.
On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi driver
fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
Git repo: https://github.com/96boards-hikey/linux
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm, gpu,
bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
- pre-builds are available too, if you just want to download and give it a
try: https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Moving onward,
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers...)
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
More work targeting v4.6:
DTS: need submit to hit v4.6: usb, mmc, wifi, and led.
pmic, regulator: sent v6 on 18/Jan. In maillist review.
drm: v2 on 28/Nov. In maillist review. v3 will be sent in early Feb.
adv7533: common driver with qualcomm dragonboard, investigations ongoing to have a single driver
Work in progress that might miss 4.6:
mmc: by early Feb., to send v1 of patch to mailing list.
clk: hi6220: register reset clocks for mmc: (will drop. Need re-write to use hisi-reset framework which exists in linux-next.)
mmc: dw_mmc: hikey: add this support for high speed sd card (will refactor and send maillist).
Idle and mailbox: Reserve memory regions and enabling idle states: Resend V2 after alignment with DT maintainers:
Mailbox V3 sent out for review and discussed at Connect
[2015/Oct].
- [2016/1/29] two steps:
- add dts for reserving memory regions and enabling idle states; because
MCU is quite depend on memory regions, otherwise it will introduce unstable issue for mailbox driver as well. This step targets v4.6.
- add mailbox driver.
coresight: [2016/1/29] in v4.4, etm0 is ok. etm1~7 can cause system hang - still under investigation.
smmu: V2 [2015/Oct.]: http://thread.gmane.org/gmane.linux.ports.arm.kernel/449391
- Actually we want to combine ION and smmu together. Now ION code is not
ready yet.
bluetooth: TI's driver is not fully upstreamed. Need to enable with additional patches. (Enabled on v4.4 kernel.)
HDMI audio: in-progress. v3.18 was added. v4.4 not added yet.
- Basic function is ok, but there is noise. Need to rewrite the DMA driver.
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 11 February 2016 at 21:23, git git gitfineon@online.de wrote:
Hi devs,
until now, I used 1.8V from the UART Debug Header to power my i2c device, because I thought it is electrically gone on my board. But after testing it with another HiKey Board (this time from LeMaker) with the same Firmware, I'm sure it has to be enabled anywhere. In the linux device tree source I found the following lines
hisilicon/hi6220.dtsi
ldo21: ldo21@a40 { regulator-compatible = "LDO21"; regulator-min-microvolt = <1650000>; regulator-max-microvolt = <2000000>; regulator-always-on; regulator-enable-ramp-delay = <120>; };
But, how to do this in Bare Metal? LDO5_1V8 seems to be enabled by default but I can't find where it is done. How to configure the PMIC in early Bootloader stage?
You need to read the code in https://github.com/96boards-hikey/linux/blob/28664a33b45a52b23bd1a68b5f27a95...
Unfortunately, we provide no public document on PMIC chip (hi655x) used on HiKey. But register information can be reverse engineered from driver code above.
Eg. .enable_reg = HI655X_BUS_ADDR(ereg), \ .enable_mask = BIT(cmask), \ enable_reg is the register to write 1 to to enable a regulator. Band enable_mask is the bit for it. Each bit for one ldo.
Similarly you see the disable_reg and vreg.
-Guodong
Hope someone can solve this riddle for me.
Best Regards
On February 3, 2016 at 7:15 PM Grant Likely grant.likely@linaro.org wrote:
I just checked. The 4.4 kernel does not enable the 1.8V voltage rail on the LS expansion connector. Do you know how to enable it?
g. _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
On 2/11/2016 8:05 PM, Grant Likely wrote:
HI Guodong,
I found another problem with the 4.4 branch on HiKey. ttyAMA2 (UART0 on the expansion port) is not working anymore.
I also do not see /sys/class/gpio but is this expected?
Akira
g.
On Wed, Feb 3, 2016 at 7:52 AM, Guodong Xu guodong.xu@linaro.org wrote:
Hi, all
Here is a summary and status report about HiKey in vanilla linux and our upstreaming plan.
As of v4.4, already upstreamed:
- clk, psci, basic dts, uart, cpufreq, cpuidle, mailbox, emmc, wifi driver
fix, and tsensor (thermal)
- hikey can boot using vanilla v4.4 kernel and defconfig.
Based on v4.4, topic branches are available, and integration branch is hosted here:
Git repo: https://github.com/96boards-hikey/linux
Integration branch: hikey-mainline-rebase
Topics (so features) include: dts, pmic, mmc, usb, adv7511, drm, pm, gpu,
bluetooth, ion, hisi-reset, hikey-configs. (Most of these are backport of what we sent in maillist for community review.)
- pre-builds are available too, if you just want to download and give it a
try: https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase/
Moving onward,
v4.5-rc1:
USB: driver, 37dd9d6 usb: dwc2: add support of hi6220.
Slated for v4.6 merge-window:
hisi-reset driver: in linux-next (http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers...)
DTS: in maintainer's git repo: https://github.com/hisilicon/linux-hisi
- Including: gpio, pinctrl, i2c
More work targeting v4.6:
DTS: need submit to hit v4.6: usb, mmc, wifi, and led.
pmic, regulator: sent v6 on 18/Jan. In maillist review.
drm: v2 on 28/Nov. In maillist review. v3 will be sent in early Feb.
adv7533: common driver with qualcomm dragonboard, investigations ongoing to have a single driver
Work in progress that might miss 4.6:
mmc: by early Feb., to send v1 of patch to mailing list.
clk: hi6220: register reset clocks for mmc: (will drop. Need re-write to use hisi-reset framework which exists in linux-next.)
mmc: dw_mmc: hikey: add this support for high speed sd card (will refactor and send maillist).
Idle and mailbox: Reserve memory regions and enabling idle states: Resend V2 after alignment with DT maintainers:
Mailbox V3 sent out for review and discussed at Connect
[2015/Oct].
- [2016/1/29] two steps:
- add dts for reserving memory regions and enabling idle states; because
MCU is quite depend on memory regions, otherwise it will introduce unstable issue for mailbox driver as well. This step targets v4.6.
- add mailbox driver.
coresight: [2016/1/29] in v4.4, etm0 is ok. etm1~7 can cause system hang - still under investigation.
smmu: V2 [2015/Oct.]: http://thread.gmane.org/gmane.linux.ports.arm.kernel/449391
- Actually we want to combine ION and smmu together. Now ION code is not
ready yet.
bluetooth: TI's driver is not fully upstreamed. Need to enable with additional patches. (Enabled on v4.4 kernel.)
HDMI audio: in-progress. v3.18 was added. v4.4 not added yet.
- Basic function is ok, but there is noise. Need to rewrite the DMA driver.
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev