From: Robert Yang <liezhi.yang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/4] image_types.bbclass: fix ubi ubifs and multiubi
Date: Fri, 8 Apr 2016 18:08:46 +0800 [thread overview]
Message-ID: <5707832E.8080007@windriver.com> (raw)
In-Reply-To: <20160408095448.GA4953@ad.chargestorm.se>
On 04/08/2016 05:54 PM, Anders Darander wrote:
> * Stefano Babic <sbabic@denx.de> [160408 11:19]:
>> On 08/04/2016 09:15, Robert Yang wrote:
>>> Fixed when do_image_ubi:
>>> | DEBUG: Executing shell function do_image_ubifs
>>> | Error: min. I/O unit was not specified (use -h for help)
>>> | WARNING: exit code 255 from a shell command.
>
> NAK
>
>>> +MKUBIFS_ARGS ?= "-m 1KiB -e 128KiB -c $ROOTFS_SIZE"
>>> +UBINIZE_ARGS ?= "-m 1KiB -p 128KiB"
>>> +
>
>> These are machine specific and are generally set in the machine
>> configuration file. Default values you set here could be wrong in most
>> cases, depending on the NAND chip.
>
>> Is it not better to get the error ? Then I know that I forget to set the
>> two variables and I can easy fix it. If no error is raised, we get a
>> ubifs that never run on the machine and as rootfs is not mounted - and
>> finding the reason is much more difficult.
>
> I agree with Stefano here; I'd also prefer a build failure instead of a
> non-working image.
My concerns was that if they can't be built out by default, then we have no
idea about whether they work or not. But as you said ubifs is a little
special, so I removed the patch from the repo. In YP 2.2, maybe we can
make it work a with a qemu machine ?
// Robert
>
> Cheers,
> Anders
>
next prev parent reply other threads:[~2016-04-08 10:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-08 7:15 [PATCH 0/4] image_types.bbclass: fix btrfs, ubifs and elf Robert Yang
2016-04-08 7:15 ` [PATCH 1/4] image_types.bbclass: set nodesize for btrfs Robert Yang
2016-04-08 7:15 ` [PATCH 2/4] image_types.bbclass: fix ubi ubifs and multiubi Robert Yang
2016-04-08 9:09 ` Stefano Babic
2016-04-08 9:54 ` Anders Darander
2016-04-08 10:08 ` Robert Yang [this message]
2016-04-08 7:15 ` [PATCH 3/4] image_types.bbclass: fix elf Robert Yang
2016-04-08 7:15 ` [PATCH 4/4] image-vm.bbclass/image_types.bbclass: IMAGE_NAME -> IMAGE_LINK_NAME Robert Yang
2016-04-08 10:11 ` [PATCH 0/4] image_types.bbclass: fix btrfs, ubifs and elf Robert Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5707832E.8080007@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox