From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kukjin Kim Subject: RE: [PATCH] ARM: dts: Fix booting on Rinato market device Date: Sat, 08 Nov 2014 19:16:54 +0900 Message-ID: <004701cffb3d$1edef9e0$5c9ceda0$@kernel.org> References: <1415360662-30390-1-git-send-email-k.kozlowski@samsung.com> <545CB220.9030007@samsung.com> <1415361564.31102.2.camel@AMDC1943> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-reply-to: <1415361564.31102.2.camel@AMDC1943> Content-language: ko Sender: linux-kernel-owner@vger.kernel.org To: 'Krzysztof Kozlowski' , 'Chanwoo Choi' Cc: 'Ben Dooks' , 'Rob Herring' , 'Pawel Moll' , 'Mark Rutland' , 'Ian Campbell' , 'Kumar Gala' , 'Russell King' , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, 'Kyungmin Park' , 'BartlomiejZolnierkiewicz' List-Id: devicetree@vger.kernel.org Krzysztof Kozlowski wrote: >=20 > On pi=C4=85, 2014-11-07 at 20:50 +0900, Chanwoo Choi wrote: > > Hi Krzysztof, > > > > On 11/07/2014 08:44 PM, Krzysztof Kozlowski wrote: > > > The bootloader on market Rinato (Gear 2) device checks for revisi= on in > > > compatible field of DTB. If it is not present or lower than requi= red > > > then booting fails with: "Could not do normal boot. (no DTB found= )". > > > > > > Log of bootloader in case of failure: > > > h/w: revision =3D 0x06 > > > h/w: schematic =3D SM-R380_Rev0.5_Final_0205 > > > date =3D 2000/01/01 12:00:21 (UTC) > > > cmu_div:4, div:5, src_clk:800000000, pixel_clk:31860720 > > > load_kernel: loading boot image from 57344.. (BOOT) > > > load_kernel: found zImage, size: 0x3267e8 > > > 0xbc Error! > > > Verify_Binary_Signature: failed. > > > pit_check_signature (BOOT) invalid. > > > load_kernel: found custom kernel (ret:-2147483647) > > > No need to update kernel type. > > > Detected board: samsung,rinato-rev06 > > > Could not do normal boot. (no DTB found) > > > : Entering usb mode for SM-R380_EUR_XX (65535).. > > > > > > Add a "rev06" suffix to compatible to satisfy the bootloader. > > > > > > Signed-off-by: Krzysztof Kozlowski > > > --- > > > arch/arm/boot/dts/exynos3250-rinato.dts | 3 ++- > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/b= oot/dts/exynos3250-rinato.dts > > > index 84380fa13e37..f72ba0a1d915 100644 > > > --- a/arch/arm/boot/dts/exynos3250-rinato.dts > > > +++ b/arch/arm/boot/dts/exynos3250-rinato.dts > > > @@ -18,7 +18,8 @@ > > > > > > / { > > > model =3D "Samsung Rinato board"; > > > - compatible =3D "samsung,rinato", "samsung,exynos3250", "samsung= ,exynos3"; > > > + compatible =3D "samsung,rinato", "samsung,rinato-rev06", > > > + "samsung,exynos3250", "samsung,exynos3"; > > > > I think it is wrong. The released bootloader from Samsung is not u-= boot. > > Instead, you have to update u-boot to support Exynos3250-basd Rinat= o board. >=20 > The bootloader on device also was not a u-boot. So the fix is for nat= ive > bootloader delivered on device. >=20 > I do not insist that this is proper fix. It was just needed to boot t= he > device with custom kernel. >=20 > Anyway, thanks for comments! >=20 Hi Krzysztof and Chanwoo, So, we don=E2=80=99t need this to fix the problem Krzysztof said? OK. - Kukjin