Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp140825img; Thu, 21 Mar 2019 16:11:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwYcB+ivJQvjqZwBW7kVkZXyVZ04PjW3ctPoegug4ZG2jUWTuu3DKVLz3WDVDpvRr4Mp4Y X-Received: by 2002:a63:4550:: with SMTP id u16mr5662562pgk.73.1553209904392; Thu, 21 Mar 2019 16:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553209904; cv=none; d=google.com; s=arc-20160816; b=RNQINeG7/w+srzvoR3ayMK7POD6UUizV8fnyGOPFPYfCSlcYjNRPo7HK/JLBkwWPI1 g9pmHvDMs/uOBTxYABFwzHoFigIo67f8zeGHi77RbwdYoWcTeOERUHKhErfa4sg9DAdD rMXvcMcqLFJvIz4Yf/KDCdREk8uhq+I5gZAmSwTa/Wx9t507fB8qSmiLWfldT5J/SoNE VjMR1M3hggUpbVxm97NORV3jOr7DBxlOXBhhlhcuI1+tvXH0ab1Apndk8K0Y03B3L4yu g1ata1AJytkxs9gpoP3XqlRZjhyRlH39zurpgTHDrDa2k/pF/wNVrM4PL3AhkdzIRj2A yN0w== 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=9okr37RjDLxo+GuFaH+iyRUubfB3fgE0X3b0GB/hyzk=; b=nVfIFfrO965F4Bln1wUdzcX0TDd167655H0Yg9L0vMJxthX+OapNT5vHJpO4FKoe1U 478qrNQGnyIt6aveyzNpcjK1XtDUbnj0reL4eO4gx10v/r5E51bp/JjAuRShvtbuXhWx U5BfmOYVl7CTkfiXiakxQBgiys/QtdN7kvjoF8u+HCQEpjz2wu1wKMmZli6dYJSEl2TX zvzOsqv4h/b5bCNJmDGWHy5Y9bxOEcLkPVJ2QaoS5Cz/D0O/ZTeDeHbgeEs7K58k/wOT dbl7ubuKEbX82O0BCjd7CxL3kekwn5aSw4Fiv8uuUpaFPlcYg8djS3C2lcEAzA7dsAz/ /O7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YH29RQJg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22si5244297pfn.155.2019.03.21.16.11.29; Thu, 21 Mar 2019 16:11:44 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=YH29RQJg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727402AbfCUXKv (ORCPT + 99 others); Thu, 21 Mar 2019 19:10:51 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:36212 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727379AbfCUXKu (ORCPT ); Thu, 21 Mar 2019 19:10:50 -0400 Received: by mail-io1-f68.google.com with SMTP id f6so244424iop.3; Thu, 21 Mar 2019 16:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9okr37RjDLxo+GuFaH+iyRUubfB3fgE0X3b0GB/hyzk=; b=YH29RQJg1C9TlhD1pAF2jWK3r87Av3+8QrmoA52dzgBYp97xUu6PMGl8oErsnwhP9G KHOrMaAGfOwk9d0xrf8gi11PsnKiZh3koUvUcbW5AZ2gokV2EnzLNxoo/Fb8YSVTmzIt mI0MI4wTnXMFFmiRA8xDxvd0FkjyDAxFNAKoRdEvJl+KmJUrG4DU62+nj4hf2mKKEb4+ HWodTM/FpH++jBhYcmHEwBe6fvXfzYLJNlhkDQkVWIJdxnYEqoJhcvRSv8NvCkrikDh9 1Px7Ca+Gm2hjZQk2i8Ru/y/Zx/yJggoSoIS/JqA1wcL6Y8g90gpVhBy4Ndztzm4eaaY7 O7lg== 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=9okr37RjDLxo+GuFaH+iyRUubfB3fgE0X3b0GB/hyzk=; b=MHsvWqHPzSGy+iJe7x4qkfJPjRefRtO46kJPsXFQxMXRK5N381epvZlwXU04zijjw1 hjlhJ9m9/12wV8t3gjaZNMEgeuqThbKYJFEwYVTuDEIVjB8AdMNDr/kGyjexG05Izzrb DRqPmw1RGABTWCsJE+EShpUJabtTQWUkf34xni/BJZ4TkbInF4gKYmhL/U9oi87C8Mhb /3AqiJD8XCehF8AneuHduK1SiwgVMJUoLjVwEzR1pKU6iVqYCFGnYNgPPFYoMeF1uAWI JYYE9AXBH3Lpx8//zk83o8NUlKglhlCPOTT36ghFWj8+Ukba5BSmQgA27qtmk+nnRorj 7aBw== X-Gm-Message-State: APjAAAUTS7UO5PGVkMc9OOd9oHUUePTlaRHwdpGRHF4uqMAlOIwhHSDB jgOdZMTtHHpx0pMia6z1WVtusm+ndARCMdB+R1X4ku8rJbZfFg== X-Received: by 2002:a5e:a505:: with SMTP id 5mr5108013iog.28.1553209849528; Thu, 21 Mar 2019 16:10:49 -0700 (PDT) MIME-Version: 1.0 References: <20190321170334.15122-1-thirtythreeforty@gmail.com> <20190321170334.15122-2-thirtythreeforty@gmail.com> <20190321220159.GC7872@darkstar.musicnaut.iki.fi> In-Reply-To: <20190321220159.GC7872@darkstar.musicnaut.iki.fi> From: George Hilliard Date: Thu, 21 Mar 2019 17:10:38 -0600 Message-ID: Subject: Re: [RESEND PATCH] mips: ralink: allow zboot To: Aaro Koskinen Cc: Paul Burton , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org 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 My version of U-Boot complains if I compile out LZMA support: --- => tftpboot 0x81000000 uImage; tftpboot 0x84000000 hawkeye.dtb; bootm 0x81000000 - 0x84000000 (snip) Bytes transferred = 7349 (1cb5 hex) ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-5.1.0-rc1 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1465871 Bytes = 1.4 MiB Load Address: 80000000 Entry Point: 80344338 Verifying Checksum ... OK ## Flattened Device Tree blob at 84000000 Booting using the fdt blob at 0x84000000 Uncompressing Kernel Image ... Unimplemented compression type 3 exit not allowed from main input shell. => --- Thanks, George On Thu, Mar 21, 2019 at 4:56 PM Aaro Koskinen wrote: > > Hi, > > On Thu, Mar 21, 2019 at 11:03:34AM -0600, George Hilliard wrote: > > Architecturally, there's nothing preventing compressed images from > > working. Bootloaders built with support for the various compression > > methods can decompress and run the kernel. In practice, many > > bootloaders do not support compressed images, but kernels for those > > boards should just not be compressed. > > With zboot the decompressor is included in the image so no bootloader > support is needed. > > A.