Patchset related to hibernation resume: one enhancement to make the use
of an existing file more general and one documentation update.
Both patches are based on the 3.11-rc6 tag. This was tested on a
Pandaboard with partial hibernation support, and compiled on x86.
Further testing is needed on other platforms. Please let me know if
you're able to verify this on any other systems.
[PATCH 1/2] PM / Hibernate: use name_to_dev_t to parse resume
Use name_to_dev_t to parse the /sys/power/resume file making the
syntax more flexible. It supports the previous use syntax
and additionally can support other formats such as
/dev/devicenode and UUID= formats.
By changing /sys/debug/resume to accept the same syntax as
the resume=device parameter, we can parse the resume=device
in the initrd init script and use the resume device directly
from the kernel command line.
kernel/power/hibernate.c | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
[PATCH 2/2] PM / Hibernate: add section for resume options
This adds a small section to the swsusp.txt file to address the
options for resuming. This comments on the manual resume
option which is used when resorting to an initrd or initramfs
for resuming. Resuming from late init is discussed later in
the document, but it seemed appropriate to list them together.
Documentation/power/swsusp.txt | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
Changes in v2:
--------------
* Added check for null return of kstrndup in hibernate.c
Thanks,
Sebastian
Hi,
On 21 August 2013 12:46, Phi Debian <phi.debian(a)gmail.com> wrote:
> Hi Fathi,
>
> Do you know someone who could help me progress on this, I am stuck
> since Jul 12, well doing other things meanwhile :)
>
> I follow the receipe to download an boot and armv8 image, all that goes well.
Which recipe?
http://www.linaro.org/engineering/engineering-projects/armv8http://releases.linaro.org/13.07/openembedded/aarch64 (build from source tab)
> I then follow the receipe to build the latest kernel from git, it all
> goes well, I got an Image along with a vmlinux (with debug info).
Which tree?
> I made the boot linux-system-foundation.axf file as descrived, I can
> see that my kernel in in there
>
> $ strings -a linux-system-foundation.axf | grep phi
> %s version %s (phi@hpfrcu82) (gcc version 4.8.2 20130624 ...
>
>
> Then this is where I am stuck and can't find receipe how to boot this.
>
> I tried a brute
> ./Foundation_v8pkg/models/Linux64_GCC-4.1/Foundation_v8 --image
> ./linux-system-foundation.axf --block-device ./rootfs.img
> --network=nat
I assume you tried our 13.07 release and it works fine, right?
(to rule out an issue with your set up or the rootfs)
> Where rootfs.img is the vexpress64-openembedded_lamp-armv8_20130719-403.img.gz
>
> Then I thougt 'may be' I got to populate the /boot in the rootfs.img
> with my new kernel stuff, so I mounted it (losetp _offset, etc..)
> placed
> Image.gz-3.7.0-rc2+
> config-3.7.0-rc2+
> System.map-3.7.0-rc2+
> boot.axf
> In there but still no joy
This part isn't needed.
> Is there someone at linaro who know how to boot a fresshly build
> kernel, the receipe on the web must be incorect or out dated?
linaro-dev mailing list is more appropriate.
Cheers,
Fathi
Hi All,
Today I am after the making of packages with bitbake.
I tried this
http://releases.linaro.org/13.08/openembedded/aarch64
[Building from source tab]
mkdir openembedded
cd openembedded
git clone git://git.linaro.org/openembedded/jenkins-setup.git
cd jenkins-setup
git checkout release-13.08
cd ..
sudo bash jenkins-setup/pre-build-root-install-dependencies.sh
bash jenkins-setup/init-and-build.sh
All goes well unitl the last 'bash jen..' line
My host machine is an ubuntu 12.04 LTS
My git is through a scosck (tsocks) and my loacl git command do a
tsock /sur/bin/git.
Here is the output I got running this list oc commands.
.
.
.
cd openembedded
CU82$ git clone git://git.linaro.org/openembedded/jenkins-setup.git
Cloning into 'jenkins-setup'...
remote: Counting objects: 548, done.K
remote: Compressing objects: 100% (493/493), done.K
remote: Total 548 (delta 315), reused 100 (delta 52)K
Receiving objects: 100% (548/548), 69.41 KiB, done.
Resolving deltas: 100% (315/315), done.
CU82$ cd jenkins-setup
CU82$ git checkout release-13.08
Note: checking out 'release-13.08'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 5c740ba... remove toolchain-layer
CU82$ cd ..
CU82$ sudo bash jenkins-setup/pre-build-root-install-dependencies.sh
Hit http://fr.archive.ubuntu.com precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://extras.ubuntu.com precise Release
.
.
.
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
chrpath is already the newest version.
diffstat is already the newest version.
gawk is already the newest version.
git-core is already the newest version.
texinfo is already the newest version.
unzip is already the newest version.
wget is already the newest version.
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
automake is already the newest version.
bzip2 is already the newest version.
cvs is already the newest version.
libtool is already the newest version.
patch is already the newest version.
realpath is already the newest version.
texi2html is already the newest version.
bzr is already the newest version.
desktop-file-utils is already the newest version.
python is already the newest version.
subversion is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
CU82$ bash jenkins-setup/init-and-build.sh
GCC version: 4.8
Target architecture: armv8
gpg: keyring `/home/phi/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/phi/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/phi/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo(a)android.kernel.org>" import
ed
gpg: key 338871A4: public key "Conley Owens <cco3(a)android.com>" imported
gpg: Total number processed: 2
gpg: imported: 2 (RSA: 1)
remote: Counting objects: 24, done.K
remote: Compressing objects: 100% (16/16), done.K
remote: Total 24 (delta 8), reused 0 (delta 0)K
Unpacking objects: 100% (24/24), done.
>From git://git.linaro.org/openembedded/manifest
* [new branch] master -> origin/master
* [new branch] release-13.07 -> origin/release-13.07
* [new branch] release-13.08 -> origin/release-13.08
* [new branch] yocto-lng -> origin/yocto-lng
Your Name [phi]:phi
Your Email [phi(a)hpfrcu82.(none)]: phi.debian(a)gmail.com
Your identity is: phi <phi.debian(a)gmail.com>
is this correct [y/N]?y
Testing colorized output (for 'repo diff', 'repo status'):
30m black m 31m red m 32m green m 33m yellow m 34m blue m 35m magenta m
36m cyan m 37;40m white m
1;30m bold m 2;30m dim m 4;30m ul m 7;30m reverse m
Enable color display in this user account (y/N)?N
I said no here as I don't use a xterm...
And the error now
repo has been initialized in /d1/arm64/openembedded
Traceback (most recent call last):
File "/d1/arm64/openembedded/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/d1/arm64/openembedded/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/d1/arm64/openembedded/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/d1/arm64/openembedded/.repo/repo/subcmds/sync.py", line 567, in Execute
no_tags=opt.no_tags)
File "/d1/arm64/openembedded/.repo/repo/project.py", line 1015, in Sync_Networ
kHalf
self._InitMRef()
File "/d1/arm64/openembedded/.repo/repo/project.py", line 1937, in _InitMRef
self._InitAnyMRef(R_M + self.manifest.branch)
File "/d1/arm64/openembedded/.repo/repo/project.py", line 1955, in _InitAnyMRe
f
self.bare_git.symbolic_ref('-m', msg, ref, dst)
File "/d1/arm64/openembedded/.repo/repo/project.py", line 2202, in runner
p.stderr))
error.GitError: manifests symbolic-ref: usage: git symbolic-ref [options] name [
ref]
-q, --quiet suppress error message for non-symbolic (detached) ref
s
-m <reason> reason of the update
real 0m0.926s
user 0m0.108s
sys 0m0.028s
jenkins-setup/init-and-build.sh: line 54: cd: poky: No such file or directory
jenkins-setup/init-and-build.sh: line 57: oe-init-build-env: No such file or dir
ectory
jenkins-setup/functions.sh: line 49: conf/bblayers.conf: No such file or directo
ry
/d1/arm64/openembedded/../openembedded-core/meta: No such file or directory
jenkins-setup/functions.sh: line 64: conf/bblayers.conf: No such file or directo
ry
jenkins-setup/functions.sh: line 72: conf/site.conf: No such file or directory
jenkins-setup/functions.sh: line 126: conf/site.conf: No such file or directory
sed: can't read conf/local.conf: No such file or directory
df: `/var/lib/lightdm/.gvfs': Permission denied
plenty of space, no cleanup
The BBPATH variable is not set
Any help appreciated :)
Cheers,
Phi
Hi all,
I wanted to create a google doc spreadsheet for tracking some team
activity and then embed in iframe for that spreadsheet into the team
wiki page.
I tried adding something like the following:
=== Project Status ===
{{{#!html
<iframe width='500' height='300' frameborder='0'
src='https://docs.google.com/spreadsheet/pub?key=0Ajx9x7R7ZLSidGVWcVI5YzhWVER5ZD…'></iframe>
}}}
Nothing shows up. I decided to try an easier test:
=== Project Status ===
{{{#!html
<b>Hello, world!</b>
}}}
I can see the "Hello, world!" string, but the bold tags were ignored.
So is HTML embedding disabled in MoinMoin? Any idea on the best way to proceed?
Thanks,
Mike
Hi,
Has anyone else seen the following problem (or better solved it).
I am testing with a multi-platform kernel binary on both a Broadcom
board and ARM TC2 - as such I have:
CONFIG_ARCH_BCM=y
CONFIG_ARCH_VEXPRESS=y
I am using some debug features and earlyprintk on the BCM board so have:
CONFIG_DEBUG_LL=y
CONFIG_EARLY_PRINTK=y
and a arch/arm/include/debug/bcm_kona.S which is included by Kconfig.debug.
If I put earlyprintk on the cmdline for the Broadcom board it all works fine.
If I don't on the Vexpress it hangs at kernel start-up. That should
have worked ok, but to make it do so I have to comment out the two
putstr lines in decompress_kernel in arch/arm/boot/compressed/misc.c
(then everything is fine).
Apart from just removing those lines so I no longer get the printout of:
"Uncompressing Linux... done, booting the kernel."
I can't see an obvious way of fixing this.
Has anyone else come across this issue with multi-platform kernels and
come up with a solution which keeps the Uncompressing printout - I
can't find anything about this on the usual mailing lists.
Thanks,
James
Hi Guru's
I successfully builf my own kernel abd run it for arm64, I try now to
do the same trick with arm32.
I need to have a root fs bigger enough to do basic dev in c user code.
I choose latest raring-developper for this. DL
vexpress-raring_developer_20130826-443.img.gz
I can then mount it and extract vmlinuz and initrd then boot it like
given on some doc pages
qemu-system-arm \
-kernel vmlinuz \
-sd vexp.img \
-M vexpress-a9 \
-cpu cortex-a9 \
-serial stdio \
-m 1024 \
-initrd initrd \
-append 'root=/dev/mmcblk0p2 rw mem=1024M raid=noautodetect console=ttyAMA0,38
400n8 rootwait vmalloc=256MB devtmpfs.mount=0'
>From there I got a prompt
root@linaro-developer:~# uname -a
Linux linaro-developer 3.11.0-1-linaro-vexpress #1ubuntu1~ci+130822051821-Ubuntu
SMP Thu Aug 22 05:54:20 UTC 201 armv7l armv7l armv7l GNU/Linux
root@linaro-developer:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mmcblk0p2 963288 652056 245084 73% /
udev 514152 4 514148 1% /dev
tmpfs 103060 172 102888 1% /run
none 4 0 4 0% /sys/fs/cgroup
none 5120 0 5120 0% /run/lock
none 515280 0 515280 0% /run/shm
none 102400 0 102400 0% /run/user
I need more disc space for doing dev, so I investigated 2 options
1) Make the rootfs bigger
I truncate 4G the rootfs.img (rootfs.img is a short for
vexpress-raring_developer_20130826-443.img) then I losetup the
rootfs.img and use gparted to extend the ext4 partition.
Alas next reboot fail, a bit like if /dev/mmcblk0p2 has an hardcoded size...
2) have an extern (user data) disc, and have it mounted
So I trucate phi.img 4G, mkfs it, and try to mount it, but I got no
idea what /dev to use to mount it, and got no idea what could be given
in the qemu runstring to ask for one more disc in the HW description.
Later on I would need to boot my own kernel, I tried the build from
source path, all goes fine and I can get an Image a uImage etc, so I
guess it will be a matter of providing this the vmlinus I get along
with the initrd I got from teh rootfs.img, will see how it goes. But
for now my problem is really to have more disc space either in rootfs
ot in an additional disc.
Any help appreciated.
Cheers,
Phi