Add Helios4 support (Target : default only) #812
Conversation
|
Some notes:
Board specific patches work only for u-boot (and ATF). If you need to patch the kernel then changes have to apply to all board using this kernel configuration and sources. If you need to disable anything (like SPI flash) in DT you can use /delete-node/ syntax or reference node by label and set its status to "disabled".
It would be simpler for us if you rebased your u-boot changes on top of SolidRun's clearfog sources (if it's possible). In this case we wouldn't need an extra u-boot sources and could just extract your changes as board specific patches. And also it looks like we could reuse existing boot script (boot-marvell.cmd) since DT file name would come from compile-time environment patches and eMMC fix and extra MAC addresses just won't be used by u-boot.
Are there any problems with PWM support? Or why patches are currently disabled? |
Ok noted, no more board folder. I will revert to the way it was before and add helios4 kernel patches along the existing ones (clearfog).
SolidRun u-boot repo has deviated too much from Marvell u-boot one. The way we added Helios4 support to Marvell u-boot is quite different than how SolidRun did. It's easier and cleaner for us to maintain helios4 u-boot code with our own repo.
Agree. Should we then cleanup the boot-marvell.cmd and remove the following lines?
The PWM driver doesn't detect the PWM device. We are still working on it. Even though is not yet a 100% full hardware support, I think it's good that we start to merge in Armbian at some point. |
Please note that I pulled most of your kernel changes already in 74b1acd. Since PWM patches are currently disabled I can't enable PWM options in the kernel config.
That's unfortunate since it will need some rework in config/sources/mvebu.conf
This is a fallback case that should never happen on fresh images (DT will be set to armada-388-clearfog.dtb only if "fdtfile" variable is unset. I'm not sure whether this should be removed. |
Ok noted, I pull what you have done first ;-)
The rework is already in my pull request. |
Oups my bad I forgot to pull one more time the upstream before sending the pull request. I did not see your commit related to clearfog. |
|
@g-provost Does this work for you: http://kaiser-edv.de/tmp/NumpU8/not_ready_now/OMV_3_0_91_Helios4_4.4.96.img.xz (new MD5 sum: 1063fd0381b18dcbeea9f8372ba5f7b7) |
|
@ThomasKaiser The build run ok on target :-) But I had to disable NCQ otherwise I get some ATA error/timeout while re-syncing an RAID10 array and playing with the OMV web interface at the same time. Funnily these errors get triggered only when I browse the 'Storage/RAID Management' and 'Storage/File Systems' sub menu pages of the OMV web panel. First time I see that even though I have done (and repeated today) a lot of stress test on Helios4 before where I fully load the CPU and I/O stress all the interfaces while doing iozone test on different RAID array configuration. |
|
@zador-blood-stained could you rename mvebu-u-boot-helios.inc to mvebu-u-boot-helios4.inc, just to stick the same naming everywhere. Thx. |
That's important but the wrong place here to discuss these issues. Needs a closer look into OMV's backend (which commands get fired up, eg. there's a lot of devices throwing errors as soon as drive's are queried in a certain way --> eg But let's better continue in Armbian forum and stop mis-using this PR :) |
|
@zador-blood-stained sorry forgot to say that also config/bootenv/helios-default.txt should be renamed to helios4-default.txt Once this is done. Should we close the pull request ? @ThomasKaiser Yup let's carry on OMV build discussion on the forum ;-) |
|
|

Add Helios4 board :(For now we focus only on default target : linux 4.4)
Note : We modified the repo README file to inform people this is only a dev repo and people should go to official armbian repo to get latest version. So do not merge README.md