Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp939075ybv; Fri, 7 Feb 2020 11:15:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwFC1qivKu81uUCKr+B+sgivPyWS8Wkmx9cMfgSi+L5IcZ8JxFC5NZQQdGR5LxJPt9uZNUB X-Received: by 2002:a05:6830:128e:: with SMTP id z14mr677433otp.184.1581102925601; Fri, 07 Feb 2020 11:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581102925; cv=none; d=google.com; s=arc-20160816; b=Gte6tPEHSQ/XUrpTfLUvtjlGHkWo9QybGcusd+6rDfaRU/Sv/bboQHT/QlZGf+woQd Xqy33hV6jRdVX6Cp5MToXVtG/389UWzNa3Q8mRgJlHyqGgWia+7Mh/6HmuR0OXw8syRW fUKBRNbt//c7LdU/LjnmlawsIfR95SYNEaHbSQtFNbfukNE87p7NAnwUQAIYH8v7Imhv RphSc2nAIdyfR2Scu7ug9JRHkYtBUpZIUXCbRyq72SAPK9phdzlI4UKfgZlm7CJxZ1Ww /tnAAkMKTUcEwvI0Dsrc0Ci/+3WWnW96lpIUh5DhDHBeLrzERxm+PV96M9s5FEtzYyXx ZjcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7vk1aAjw8ZtladZlhG16b83EoOxZYSlkCdQBetmjBWM=; b=RskhSAgCDAaA9NuYnQaMn695YJSJ5npnNiU7ZfE4Yfj2SEOidgMGGTDGhDGSIehyTf pqH+4WKWRbdM8WVldr0E2jK7oWymh0DrPVGtOYOpqvDmXmttrBOu5taCLfwgefwtKynt tkbWR6VpgMgzca5DMgb0rYf9kdnVZ6MK+QaYCTk3eMqFq1pJ4XaEIgQ7HwzVQaWXG+OV 5ip20ry1btkW08nWgRCsha06R1AbbPvsKIMBzCs2RN5NP45fufmFXIOAFngubIVe+s0B 3Ga5Q935Vn5KDAJoxFTfJl8/mFM4KlvGPeJQrwBak8exuDi0TZXyu2HGs5S8F3QN+qAV x2zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SThYRxgu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13si86987otc.228.2020.02.07.11.15.12; Fri, 07 Feb 2020 11:15:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SThYRxgu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727011AbgBGTOU (ORCPT + 99 others); Fri, 7 Feb 2020 14:14:20 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33450 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbgBGTOT (ORCPT ); Fri, 7 Feb 2020 14:14:19 -0500 Received: by mail-wr1-f67.google.com with SMTP id u6so241268wrt.0 for ; Fri, 07 Feb 2020 11:14:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7vk1aAjw8ZtladZlhG16b83EoOxZYSlkCdQBetmjBWM=; b=SThYRxgudG2HjC2XQPPAR7aYj87HC2rcbMw8NyyC39D7pclzWLzkNhmo+kQd0+An1X kTkRoMqZRizKNOC9wdnifiQZbEnh2FB0l+vSprHtp2v/Z10BTzhoagrl/8yVmwbIzi5V 9sk6xwalJKggeMECSV1i+1vRKCUjhf7YnVMIY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7vk1aAjw8ZtladZlhG16b83EoOxZYSlkCdQBetmjBWM=; b=DJBlTJT0klL8B/nCWhTWByetgreBh0a25D1zsKRvLvwm6nbQXL8LHXpkdsOkL7f+wz Hs3RPyJZ1yo6RpQd0gI00qvrn0Ug9QRMzKl/23N1fYC9UMKMPHEJpSBAhXwfAX62QBSw quAEbO0FlM87/6w6vdS2qJmqcvBA10MhqvzQ0N/uXwszhTaBUFlVBYYWIBAKm7zJmGkm 924B26bacWuJTzLUomV+z1OmALpo5vJReC/j6rQrEuOGpxvJGunRVf4QhfB/8fJAdCm1 yB0wFKSgtuR/Pwg5YJhfXQyWD66S/4dxjKqM+F9X6oZdRngruP60cRUKWcy+sWFnP/Lv Q6Uw== X-Gm-Message-State: APjAAAW1QoFvCjIn6BolLXHuxIbc2e6UqwGnl9x4+/pBt3lAPCYhbZu5 Iao1G0/0v+X0mJEndre8xX+khaJDENXUxg039XBozqbe X-Received: by 2002:adf:f586:: with SMTP id f6mr497161wro.46.1581102856853; Fri, 07 Feb 2020 11:14:16 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Michael Nazzareno Trimarchi Date: Fri, 7 Feb 2020 20:14:04 +0100 Message-ID: Subject: Re: siimple-framebuffer rockchip persistent logo To: Kever Yang , "open list:ARM/Rockchip SoC..." Cc: Philipp Tomsich , LKML , Jagan Teki Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all I move a bit on this On Sun, Jan 12, 2020 at 6:16 PM Michael Nazzareno Trimarchi wrote: > > Hi Kever > > Trying to have a persistent banner from uboot to linux-kernel. I'm > right now working on linux-rockchip kernel but I think that the > problem is even on mainline > > + framebuffer: framebuffer@7f800000 { > + compatible = "rockchip,simple-framebuffer", > + "simple-framebuffer"; > + reg = <0x7f800000 (1920 * 1080 * 4)>; > + width = <1920>; > + height = <1080>; > + stride = <(1920 * 4)>; > + format = "a8b8g8r8"; > + clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, > + <&cru SRST_LCDC0_AXI>, <&cru > SRST_LCDC0_AHB>, <&cru SRST_LCDC0_DCLK>, > + <&cru ACLK_VOP0>, <&cru HCLK_VOP0>; > + status = "okay"; > + }; > Now I can allocate the parameter using the bootloader and create the right mapping for the simple framebuffer. I don't even understand how sunxi and meson can work if they don't create a reserved memory using no-map. This is fixed on my side so the log is totally clean. I have added the deregister of simple fb and handover to the drm Now my boot parameters are: Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait pd_ignore_unused clk_ignore_unused Still I have display go off on tinker during boot. Any suggestion? Michael > Seems that it get off before I reach the drm registration > > [ 2.077495] simple-framebuffer 7f800000.framebuffer: framebuffer at > 0x7f800000, 0x7e9000 bytes, mapped to 0xf0900000 > [ 2.077519] simple-framebuffer 7f800000.framebuffer: > format=a8b8g8r8, mode=1920x1080x32, linelength=7680 > [ 2.161225] simple-framebuffer 7f800000.framebuffer: fb0: simplefb > registered! > [ 3.433847] fb: switching to rockchip-drm-fb from simple > > I don't find all the clocks and if those are the only think that I > need to stay on. Any suggestion?