Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vuou7-0006G4-CU for mharc-grub-devel@gnu.org; Sun, 22 Dec 2013 14:41:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vuou0-0006Fb-My for grub-devel@gnu.org; Sun, 22 Dec 2013 14:41:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vuotu-0000uJ-MM for grub-devel@gnu.org; Sun, 22 Dec 2013 14:41:28 -0500 Received: from mail-qe0-f45.google.com ([209.85.128.45]:50709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vuotu-0000uF-IB for grub-devel@gnu.org; Sun, 22 Dec 2013 14:41:22 -0500 Received: by mail-qe0-f45.google.com with SMTP id 6so4346689qea.4 for ; Sun, 22 Dec 2013 11:41:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=JmeLw8SeYeJOsSZbgytCpOEFe8a2r3AjVklpKhj4kdU=; b=cOg9J3fTuyZr1HIBbv+kCkif28iu62KI6BrYCZvV1QWgq9KmdXd5cYHEFIfUVNarnZ Q4fmwVVVrg8RCfQE74MqUyu/POe7EqiQqSJ6AsA1O3N6SrHro1SgisaoyMKK239jWe6m /VzO+h88mISoEPjYuFRCYoMtEcQba5NA6QfcZ3yZA5Uoa5s+UdOXDtnUS7Ak7OnJ28Xv 4W/pA7WPD62TJp/FHlfvDL4TSP6NS1uSmQZmQ3VY6O/Dgxc9zg+hAWV1e/8SCdrgdY3P stPbxF6IHF6v5cCwdlXaf+4HChc4hw7ILwQ90MoFolqwvXHjm1hfD8ECIDTgjCtZrT84 n12w== X-Gm-Message-State: ALoCoQlasoxQZxggIhsp2EvwJp623Pf0PZig/ZjYrkhOOksI/umbVa/PQWRFZxePdyUWJqG62e2V X-Received: by 10.49.109.200 with SMTP id hu8mr36092135qeb.72.1387741281734; Sun, 22 Dec 2013 11:41:21 -0800 (PST) Received: from rocoto.smurfnet.nu ([2001:4b98:dc0:41:216:3eff:fea7:75f3]) by mx.google.com with ESMTPSA id f10sm28943593qej.1.2013.12.22.11.41.20 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 22 Dec 2013 11:41:21 -0800 (PST) Date: Sun, 22 Dec 2013 20:41:38 +0100 From: Leif Lindholm To: The development of GNU GRUB Subject: Re: ARM kernel parameters Message-ID: <20131222194138.GG22356@rocoto.smurfnet.nu> References: <52B62812.2020405@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <52B62812.2020405@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.128.45 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2013 19:41:35 -0000 On Sun, Dec 22, 2013 at 12:45:22AM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Hello, all. I've been able to boot Linux on my raspberry pi, after > fixing several bugs in loader. But for this I had to have a line like: > linux /kernel_cutdown.img dma.dmachans=0x???? bcm2708_fb.fbwidth=656 > bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x???????? > smsc95xx.macaddr=??:??:??:??:?? dwc_otg.lpm_enable=0 > console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 > root=/dev/mmcblk0p2 rootfstype=ext4 rootwait Urgh... > When using standard bootloader the part > dma.dmachans=0x???? bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 > bcm2708.boardrev=0xe bcm2708.serial=0x???????? > smsc95xx.macaddr=??:??:??:??:?? > is added automatically. The part > dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 > console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait > comes from cmdline.txt. > > It's not possible to tell for sure then one ends and the other starts. > Does anyone see any problem with prepending the arguments GRUB itself > received to the kernel command line on all platforms using ATAGs? The current arm support is heavily geared towards FDT, but permits ATAGs to be passed on unmodified. Adding the ability to modify the command line would certainly make sense. Making the linux command append instead of replace the command line could make life interesting. If the u-boot bootargs happen to include basic options such as root=, then Linux's behaviour may not be obvious. So while potentially simplifying the life of the user, it also increases the amount of awareness they need to have over the U-Boot/ GRUB/Linux interaction. / Leif