[U-Boot] [PATCH v4 0/5] Add support for Pinebook
André Przywara
andre.przywara at arm.com
Sat Nov 3 21:15:05 UTC 2018
On 11/3/18 8:19 PM, Vasily Khoruzhick wrote:
> On Sat, Nov 3, 2018 at 1:18 PM Vasily Khoruzhick <anarsoul at gmail.com> wrote:
>>
>> Video is supposed to work, but you need ATF from Andre to enable LCD power:
>>
>> https://github.com/apritzel/arm-trusted-firmware/
>
> You need "allwinner" branch from this repo.
I deliberately switched the standard branch away, since everything is
merged in mainline ATF now (including PMIC support). I will post U-Boot
patches to change the instructions soon, but just use the master branch
from the official repo (and report back any issues!):
https://github.com/ARM-Software/arm-trusted-firmware.git
You might need the latest DT in U-Boot (patches are queued, AFAIK) to
let ATF know about your PMIC requirements.
Cheers,
Andre
>> On Sat, Nov 3, 2018 at 11:53 AM Dennis Gilmore <dennis at ausil.us> wrote:
>>>
>>> I have tested the series on my pinebook on top of git commit
>>> 99431c1c21685fe63d46b6eac995b78ce9adce0a
>>>
>>> I am not sure if video is expected to work or not, in my case it does
>>> not work.
>>>
>>> U-Boot SPL 2018.11-rc3-00027-g77a46c3a3c (Nov 03 2018 - 13:42:47 -0500)
>>> DRAM: 2048 MiB
>>> Trying to boot from MMC1
>>> NOTICE: BL31: v1.6(release):
>>> NOTICE: BL31: Built : 09:10:17, Sep 23 2018
>>> NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
>>> NOTICE: BL31: STUB PMIC setup code called
>>>
>>>
>>> U-Boot 2018.11-rc3-00027-g77a46c3a3c (Nov 03 2018 - 13:42:47 -0500)
>>> Allwinner Technology
>>>
>>> CPU: Allwinner A64 (SUN50I)
>>> Model: Pinebook
>>> DRAM: 2 GiB
>>> MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
>>> Loading Environment from FAT... *** Warning - bad CRC, using default
>>> environment
>>>
>>> Warning: HDMI PHY init timeout!
>>> Warning: HDMI PHY init timeout!
>>> In: serial
>>> Out: serial
>>> Err: serial
>>>
>>> u-boot however works fine and the system is able to boot and the
>>> correct dtb is loaded.
>>>
>>> Tested-by: Dennis Gilmore <dennis at ausil.us>
>>>
>>> El mar, 30-10-2018 a las 14:36 -0700, Vagrant Cascadian escribió:
>>>> Tested series applied to u-boot 2018.11-rc3 on pinebook, both with
>>>> reboot and cold boot.
>>>>
>>>> Thanks for all the work on it!
>>>>
>>>> Tested-by: Vagrant Cascadian <vagrant at debian.org>
>>>>
>>>> On 2018-10-28, Vasily Khoruzhick wrote:
>>>>> This series adds support for the Pinebook, an allwinner A64 laptop
>>>>> produced by Pine64. It also syncs sun50i-a64.dtsi with linux,
>>>>> adds support for mmc delay calibration, R_I2C controller,
>>>>> and addresses the issue with activating video bridge when any of
>>>>> GPIOs is missing.
>>>>>
>>>>> v2: - sync sun50i-a64.dtsi with linux instead of adding missing
>>>>> nodes
>>>>> - take sun50i-a64-pinebook.dts from linux
>>>>> - don't introduce new Kconfig for A64 MMC calibration
>>>>> - improve code in video bridge uclass to check for presensce of
>>>>> GPIO instead of ingoring EINVAL errors
>>>>> v3: - enable calibration for H6 as well
>>>>> - init ret variable in video_bridge_set_active()
>>>>> - fix order of dts files Makefile
>>>>> - split anx6345 binding into sun50i-a64-pinebook-u-boot.dts
>>>>> - drop speaker_amp node from pinebook dts
>>>>> - drop unnecessary options from defconfig
>>>>> v4: - sync device tree files with linux-next
>>>>>
>>>>> Vasily Khoruzhick (5):
>>>>> mmc: sunxi: add support for automatic delay calibration
>>>>> dm: video: bridge: don't fail to activate bridge if reset or
>>>>> sleep
>>>>> GPIO is missing
>>>>> sunxi: DT: A64: update device tree files for Allwinner A64 SoC
>>>>> sun50i: A64: add support for R_I2C controller
>>>>> sunxi: DT: add support for Pinebook
>>>>>
>>>>> arch/arm/dts/Makefile | 1 +
>>>>> arch/arm/dts/sun50i-a64-amarula-relic.dts | 168 +++++++++-
>>>>> arch/arm/dts/sun50i-a64-bananapi-m64.dts | 34 +-
>>>>> arch/arm/dts/sun50i-a64-nanopi-a64.dts | 89 +++++-
>>>>> arch/arm/dts/sun50i-a64-olinuxino.dts | 103 +++++-
>>>>> arch/arm/dts/sun50i-a64-orangepi-win.dts | 179 ++++++++++-
>>>>> arch/arm/dts/sun50i-a64-pine64.dts | 32 +-
>>>>> arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi | 15 +
>>>>> arch/arm/dts/sun50i-a64-pinebook.dts | 294
>>>>> +++++++++++++++++
>>>>> arch/arm/dts/sun50i-a64-sopine-baseboard.dts | 32 +-
>>>>> arch/arm/dts/sun50i-a64-sopine.dtsi | 15 +
>>>>> arch/arm/dts/sun50i-a64.dtsi | 313
>>>>> +++++++++++++++++--
>>>>> arch/arm/include/asm/arch-sunxi/gpio.h | 1 +
>>>>> arch/arm/include/asm/arch-sunxi/mmc.h | 6 +-
>>>>> arch/arm/mach-sunxi/Kconfig | 1 +
>>>>> board/sunxi/board.c | 6 +
>>>>> configs/pinebook_defconfig | 22 ++
>>>>> drivers/mmc/sunxi_mmc.c | 21 +-
>>>>> drivers/video/bridge/video-bridge-uclass.c | 16 +-
>>>>> 19 files changed, 1296 insertions(+), 52 deletions(-)
>>>>> create mode 100644 arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi
>>>>> create mode 100644 arch/arm/dts/sun50i-a64-pinebook.dts
>>>>> create mode 100644 configs/pinebook_defconfig
>>>>>
>>>>> --
>>>>> 2.19.1
>>>>
>>>> _______________________________________________
>>>> U-Boot mailing list
>>>> U-Boot at lists.denx.de
>>>> https://lists.denx.de/listinfo/u-boot
>>>
More information about the U-Boot
mailing list