From owner-freebsd-arm@freebsd.org Sat Mar 26 11:32:36 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8E71ADE480 for ; Sat, 26 Mar 2016 11:32:36 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C77F1092 for ; Sat, 26 Mar 2016 11:32:36 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bs.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1ajmSE-000LRG-2k; Sat, 26 Mar 2016 14:32:30 +0300 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: WARNING: too long kenv string .. From: Daniel Braniss In-Reply-To: <56F66C89.6040803@miracle.cz> Date: Sat, 26 Mar 2016 14:32:51 +0300 Cc: freebsd-arm Message-Id: References: <5CF7F07B-B853-4964-8F0B-78BEC0B28919@cs.huji.ac.il> <0FE2A25F-25EE-435A-8177-AA98D49696FA@cs.huji.ac.il> <56F65A10.80607@miracle.cz> <56F66C89.6040803@miracle.cz> To: meloun X-Mailer: Apple Mail (2.3112) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2016 11:32:36 -0000 > On 26 Mar 2016, at 2:03 PM, meloun wrote: >=20 > Dne 26.03.2016 v 11:29 Daniel Braniss napsal(a): >>=20 >>> On 26 Mar 2016, at 12:44 PM, meloun wrote: >>>=20 >>> Dne 26.03.2016 v 10:35 Daniel Braniss napsal(a): >>>>=20 >>>>> On 26 Mar 2016, at 12:33 PM, Daniel Braniss = wrote: >>>>>=20 >>>>> hi, >>>>> with today=E2=80=99s current(*), I=E2=80=99m getting the kenv = truncated and so can=E2=80=99t continue >>>>> with netboot rip-b. >>>> s/rip/rpi/ =E2=80=94 no pun intended :-) >>>>=20 >>>>> is there a parameter to change this? >>>>> thanks, >>>>> danny >>>>>=20 >>>>> *: I see that kern_environment.c changed on the 10th of August >>>>> _______________________________________________ >>>>> freebsd-arm@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>>>=20 >>>> _______________________________________________ >>>> freebsd-arm@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>>>=20 >>>=20 >>> Are you at r297286 or later? I just committed some changes that can = may >>> be cause of this(r297284, r297285 and r297286). >> it=E2=80=99s now r297286 >>> Also, more details are needed=E2=80=A6 >> I=E2=80=99m net booting an RPI-B, it loads alright, >> but early on it complains: >>=20 >> Booting [/boot/kernel/kernel]... =20 >> Using DTB provided by U-Boot at address 0x100. >> Kernel entry at 0x0x2200100... >> Kernel args: (null) >> ARM Debug Architecture not supported >> KDB: debugger backends: ddb >> KDB: current backend: ddb >> Copyright (c) 1992-2016 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 >> The Regents of the University of California. All rights = reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 11.0-CURRENT #16 r297286M: Sat Mar 26 11:47:32 IDT 2016 >> = danny@rnd:/home/obj/rnd/armv6/rpi/arm.armv6/r+d/vanilla/11/src/sys/RPI-B = arm >> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on = LLVM 3.8.0) >> VT: init without driver. >> WARNING: too long kenv string, ignoring dma.dmachans=3D0x7f35 = bcm2708_fb.fbwidth=3D656 bcm2708_fb.fbheight=3D416 bcm2708.boardrev=3D0x10= bcm2708.serial=3D0x48bc91a1 smsc95xx.macaddr=3DB8:27:EB:BC:91:A1 = bcm2708.disk_led_gpio=3D47 bcm2708.disk_led_active_low=3D0 = sdhci-bcm2708.emmc_clock_freq=3D250000000 vc_mem.mem_base=3D0x1ec00000 = vc_mem.mem_size=3D0x20000000 console=3DttyAMA0,115200 = kgdboc=3DttyAMA0,115200 console=3Dtty1 root=3D/dev/mmcblk0p2 = rootfstype=3Dext4 rootwait >> sema_sysinit >> CPU: ARM1176JZ-S rev 7 (ARM11J core) >=20 > Can you please test if r297283 also fails? I don't have access to RPI = at > this moment, sorry. >=20 i will, but this will take some time. in the meantime, booting from the SD card has the same issue. > Problem is that somebody puts original linux bootargs into kernel > environment - this can be caused by my pathes, or by any change in = ubldr > itself. >=20 > Michal