Re: Can't boot my fresh build armv8 linaro kernel/
Hi Christopher, Progress!!! giving the full path for FDT_SRC give make(1) success I obtained a linux-system-foundation.axf Note that I build linux-system-foundation.axf this way. make CROSS_COMPILE=aarch64-linux-gnu- BOOTARGS='"root=/dev/vda2 consolelog=9 rw console=ttyAMA0"' FDT_SRC=../linux/arch/arm64/boot/dts/foundation-v8.dts IMAGE=linux-system-foundation.axf Now booting it gives ./Foundation_v8pkg/models/Linux64_GCC-4.1/Foundation_v8 --image ./kbuild/boot-wrapper-aarch64/linux-system-foundation.axf --block-device ./rootfs.img --network=nat Linux version 3.11.0-rc6+ (phi@hpfrcu82) (gcc version 4.8.2 20130624 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2013.07-1 - Linaro GCC 2013.07) ) #1 SMP Wed Aug 21 19:05:06 CEST 2013 CPU: AArch64 Processor [410fd000] revision 0 Machine: Foundation-v8A PERCPU: Embedded 10 pages/cpu @ffc87ffaa000 s11392 r8192 d21376 u40960 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1034240 Kernel command line: root=/dev/vda2 consolelog=9 rw console=ttyAMA0 PID hash table entries: 4096 (order: 3, 32768 bytes) . . . TCP: cubic registered NET: Registered protocol family 17 VFS: Cannot open root device "vda2" or unknown-block(0,0): error -6 Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11.0-rc6+ #1 Call trace: [] dump_backtrace+0x0/0x12c [] show_stack+0x14/0x1c [] dump_stack+0x70/0x90 [] panic+0xe8/0x208 [] mount_block_root+0x1d8/0x278 [] mount_root+0x118/0x134 [] prepare_namespace+0x140/0x188 [] kernel_init_freeable+0x1b4/0x1d4 [] kernel_init+0x18/0x148 So its not an illegal instruction anymore be really a wrong FS, The rootfs.img I used in the runstring is a gunzip of vexpress64-openembedded_lamp-armv8_20130719-403.img.gz Dunno why it can't open /dev/vda2, the --block-device ./rootfs.img seems ok The message Please append a correct "root=" boot option seems strange since the top console log gives Kernel command line: root=/dev/vda2 consolelog=9 rw console=ttyAMA0 Well looks like we are getting closer to boot a newly build OS. Cheers, Phi On Wed, Aug 21, 2013 at 9:51 PM, Christopher Covington wrote: > On 08/21/2013 03:04 PM, Phi Debian wrote: >> It is still a non trivial operation. >> >> I can built linus kernel, but I can't build the boot loader, the >> >> vexpress-foundation-v8.dts is missing, them >> >> make CROSS_COMPILE=aarch64-linux-gnu- BOOTARGS='"root=/dev/vda2 >> consolelog=9 rw console=ttyAMA0"' FDT_SRC=vexpress-foundation-v8.dts >> IMAGE=linux-system-foundation.axf >> >> then the FDT_SRC doesn't work >> >> And I can't find what to link symlink with... > > You should be able to give the full path with FDT_SRC and not worry about > symlinking. > > arch/arm64/boot/dts/foundation-v8.dts was added in commit 90556ca1. > > Christopher > > -- > Employee of Qualcomm Innovation Center, Inc. > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, > hosted by the Linux Foundation. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [Call for participation] Bi-Weekly KVM/ARM Technical Sync-up
On Thu, Aug 22, 2013 at 01:15:54AM +0100, Russell King - ARM Linux wrote: > On Wed, Aug 21, 2013 at 05:09:39PM -0700, Christoffer Dall wrote: > > Linaro is going to host a bi-weekly sync-up call for technical issues on > > KVM/ARM development. The KVM 32-bit and 64-bit maintainers as well as > > the QEMU ARM maintainer will typically be on the call. > > > > The first call will be held Tuesday August 27th. > > I'll point out that I don't do Tuesdays for phone calls (it's one of the > days I regularly take as "weekend time") so you'll never be able to > invite me if you keep this on Tuesdays. We could reconsider the day of the week. Would you actually join if it was on any other day? -- Christian Robottom Reis | [+1] 612 216 4935 | http://launchpad.net/~kiko Canonical VP Hyperscale | [+55 16] 9112 6430 | http://async.com.br/~kiko ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [Call for participation] Bi-Weekly KVM/ARM Technical Sync-up
On Wed, Aug 21, 2013 at 05:09:39PM -0700, Christoffer Dall wrote: > Linaro is going to host a bi-weekly sync-up call for technical issues on > KVM/ARM development. The KVM 32-bit and 64-bit maintainers as well as > the QEMU ARM maintainer will typically be on the call. > > The first call will be held Tuesday August 27th. I'll point out that I don't do Tuesdays for phone calls (it's one of the days I regularly take as "weekend time") so you'll never be able to invite me if you keep this on Tuesdays. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Call for participation] Bi-Weekly KVM/ARM Technical Sync-up
Hi all, Linaro is going to host a bi-weekly sync-up call for technical issues on KVM/ARM development. The KVM 32-bit and 64-bit maintainers as well as the QEMU ARM maintainer will typically be on the call. The first call will be held Tuesday August 27th. If you, your organization, or any of your colleagues are interested in attending this call, please reply back to me with: - Your name - Your e-mail address - The capacity in which you are interested (hobbyist, company you represent, ...) We will send out an invite after we have collected all the participants. The calls will be based on an agenda that I will E-mail out to the list the Monday before the call. If we have no items on the agenda, we will not be having the call. Agenda items should be E-mailed to me and/or the kvmarm list before the call, obviously before the Monday prior to the call. We emphasize that this is going to be a technical call for engineers and not a forum to solicit services or discuss business concepts. Best, -Christoffer ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: mailing list for cross build issues created
+++ Matthias Klose [2013-08-21 22:31 +0200]: > Today the debian-cr...@lists.debian.org ML was created. > Please subscribe to this list if you are interested in cross build issues. Here: https://lists.debian.org/debian-cross/ Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/ ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
On 08/21/2013 03:04 PM, Phi Debian wrote: > It is still a non trivial operation. > > I can built linus kernel, but I can't build the boot loader, the > > vexpress-foundation-v8.dts is missing, them > > make CROSS_COMPILE=aarch64-linux-gnu- BOOTARGS='"root=/dev/vda2 > consolelog=9 rw console=ttyAMA0"' FDT_SRC=vexpress-foundation-v8.dts > IMAGE=linux-system-foundation.axf > > then the FDT_SRC doesn't work > > And I can't find what to link symlink with... You should be able to give the full path with FDT_SRC and not worry about symlinking. arch/arm64/boot/dts/foundation-v8.dts was added in commit 90556ca1. Christopher -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
mailing list for cross build issues created
Today the debian-cr...@lists.debian.org ML was created. The rationale for having such a ML can be found in http://bugs.debian.org/717332. The description for the ML currently is: Discuss cross building of packages and infrastructure for cross-builds The list discusses * How to cross-build packages within Debian * Infrastructure needed to cross-build packages. This may include discussion about additional tags for cross-building, running cross-build daemons, etc. * How to use cross-builds to bootstrap Debian ports. The issue for the creation of this ML explicitly includes topics which affect Ubuntu and other derivatives. So it makes sense for Ubuntu and Linaro developers to subscribe to this ML too. Please avoid cross posting to Ubuntu a and Linaro lists, as people subscribed to debian-cross may not be allowed to post to these lists. Please subscribe to this list if you are interested in cross build issues. Matthias ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH RFC 2/2] PM / Hibernate: add section for resume options
Expand the existing documentation to explicitly list the options for resuming a hibernation image, including the manual resume option which can be used from the initrd or initramfs and the kernel init resume. Signed-off-by: Sebastian Capella --- Documentation/power/swsusp.txt | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/power/swsusp.txt b/Documentation/power/swsusp.txt index 0b4b63e..079160e 100644 --- a/Documentation/power/swsusp.txt +++ b/Documentation/power/swsusp.txt @@ -50,6 +50,19 @@ echo N > /sys/power/image_size before suspend (it is limited to 500 MB by default). +. The resume process checks for the presence of the resume device, +if found, it then checks the contents for the hibernation image signature. +If both are found, it resumes the hibernation image. + +. The resume process may be triggered in two ways: + 1) During lateinit: If resume=/dev/your_swap_partition is specified on + the kernel command line, lateinit runs the resume process. If the + resume device has not been probed yet, the resume process fails and + bootup continues. + 2) Manually from an initrd or initramfs: May be run from + the init script by using the /sys/power/resume file. It is vital + that this be done prior to remounting any filesystems (even as + read-only) otherwise data may be corrupted. Article about goals and implementation of Software Suspend for Linux @@ -326,7 +339,7 @@ Q: How can distributions ship a swsusp-supporting kernel with modular disk drivers (especially SATA)? A: Well, it can be done, load the drivers, then do echo into -/sys/power/disk/resume file from initrd. Be sure not to mount +/sys/power/resume file from initrd. Be sure not to mount anything, not even read-only mount, or you are going to lose your data. -- 1.7.9.5 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH RFC 0/2] PM / Hibernate: sysfs resume
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 RFC 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 | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) [PATCH RFC 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(-) Thanks, Sebastian ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH RFC 1/2] PM / Hibernate: use name_to_dev_t to parse resume
Use the name_to_dev_t call to parse the device name echo'd to to /sys/power/resume. This imitates the method used in hibernate.c in software_resume, and allows the resume partition to be specified using other equivalent device formats as well. By allowing /sys/debug/resume to accept the same syntax as the resume=device parameter, we can parse the resume=device in the init script and use the resume device directly from the kernel command line. Signed-off-by: Sebastian Capella --- kernel/power/hibernate.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index b26f5f1..51d4c29 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -971,15 +971,19 @@ static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t n) { - unsigned int maj, min; dev_t res; int ret = -EINVAL; + int len = n; + char *devcpy; - if (sscanf(buf, "%u:%u", &maj, &min) != 2) - goto out; + if (buf[len-1] == '\n') + len--; + + devcpy = kstrndup(buf, len, GFP_KERNEL); + res = name_to_dev_t(devcpy); + kfree(devcpy); - res = MKDEV(maj,min); - if (maj != MAJOR(res) || min != MINOR(res)) + if (res == 0) goto out; lock_system_sleep(); -- 1.7.9.5 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
It is still a non trivial operation. I can built linus kernel, but I can't build the boot loader, the vexpress-foundation-v8.dts is missing, them make CROSS_COMPILE=aarch64-linux-gnu- BOOTARGS='"root=/dev/vda2 consolelog=9 rw console=ttyAMA0"' FDT_SRC=vexpress-foundation-v8.dts IMAGE=linux-system-foundation.axf then the FDT_SRC doesn't work And I can't find what to link symlink with... Thanx in advance for any lights :) Spend the all day on trying to boot a regular new build kernel but so far no success. Cheers, Phi On Wed, Aug 21, 2013 at 6:13 PM, Phi Debian wrote: > Well git.linaro.org/kernel/linux-linaro-tracking.git don't have arm64 > inside arch/ so doesn't work really. > > I am downloading from > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > takes for ever real slow... > > Still digging... > > On Wed, Aug 21, 2013 at 5:06 PM, Phi Debian wrote: >> got this working >> tsocks git clone git://git.linaro.org/kernel/linux-linaro-tracking.git >> >> >> Cheers, >> Phi >> >> On Wed, Aug 21, 2013 at 5:01 PM, Phi Debian wrote: >>> Do I need some credential to do this ? >>> >>> CU82$ tsocks git clone >>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/> >>> Cloning into v3.11-rc6... >>> warning: remote HEAD refers to nonexistent ref, unable to checkout. >>> >>> CU82$ tsocks git clone >>> https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git >>> Cloning into linux-linaro-tracking... >>> fatal: >>> https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git/info/refs >>> not >>> found: did you run git update-server-info on the server? >>> >>> >>> >>> On Wed, Aug 21, 2013 at 4:24 PM, Phi Debian wrote: Super I try that immedialty. Regarding the web page, I went throuh it a couple of iteration in July then Aug, and amazingly the links to version specif stuff where always accurate like wget http://releases.linaro.org/13.07/openembedded/aarch64/img-foundation.axf or wget http://releases.linaro.org/12.10/components/toolchain/... letting me think that all was accurate, so I was looping on this broken link :) I let you know my progress. Cheers, Phi On Wed, Aug 21, 2013 at 3:45 PM, Fathi Boudra wrote: > On 21 August 2013 16:57, Phi Debian wrote: >> I am git iliterate, looking at https://git.linaro.org/gitweb, >> git://git.linaro.org/kernel/linaro-aarch64.git seems the latest... How >> could I get a better one? > > We need to update this page. > > As Riku said: > * latest linux-linaro > https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git > (linux-linaro branch) > or > * latest mainline kernel > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.11-rc6 > >> Phi >> >> >> >> On Wed, Aug 21, 2013 at 1:33 PM, Phi Debian wrote: >>> Well not being a got expert I did the line given in the receipe >>> https://wiki.linaro.org/HowTo/BuildArm64Kernel >>> >>> % git clone git://git.linaro.org/kernel/linaro-aarch64.git >>> % cd linaro-aarch64 >>> % git checkout -b linaro-aarch64 origin/linaro-aarch64 >>> >>> I dunno how to get the latest? >>> Cheers, >>> Phi >>> >>> >>> >>> On Wed, Aug 21, 2013 at 12:46 PM, Riku Voipio >>> wrote: Hi Phi Debian, >> 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 You might want to try to build a newer kernel, either the latest linux-linaro or latest mainline kernel. Riku > > > > -- > Fathi Boudra > Builds and Baselines Manager | Release Manager > Linaro.org | Open source software for ARM SoCs ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
Well git.linaro.org/kernel/linux-linaro-tracking.git don't have arm64 inside arch/ so doesn't work really. I am downloading from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git takes for ever real slow... Still digging... On Wed, Aug 21, 2013 at 5:06 PM, Phi Debian wrote: > got this working > tsocks git clone git://git.linaro.org/kernel/linux-linaro-tracking.git > > > Cheers, > Phi > > On Wed, Aug 21, 2013 at 5:01 PM, Phi Debian wrote: >> Do I need some credential to do this ? >> >> CU82$ tsocks git clone >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/> >> Cloning into v3.11-rc6... >> warning: remote HEAD refers to nonexistent ref, unable to checkout. >> >> CU82$ tsocks git clone >> https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git >> Cloning into linux-linaro-tracking... >> fatal: >> https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git/info/refs >> not >> found: did you run git update-server-info on the server? >> >> >> >> On Wed, Aug 21, 2013 at 4:24 PM, Phi Debian wrote: >>> Super >>> I try that immedialty. >>> >>> Regarding the web page, I went throuh it a couple of iteration in July >>> then Aug, and amazingly the links to version specif stuff where always >>> accurate like >>> >>> wget >>> http://releases.linaro.org/13.07/openembedded/aarch64/img-foundation.axf or >>> wget http://releases.linaro.org/12.10/components/toolchain/... >>> >>> letting me think that all was accurate, so I was looping on this broken >>> link :) >>> >>> I let you know my progress. >>> Cheers, >>> Phi >>> >>> On Wed, Aug 21, 2013 at 3:45 PM, Fathi Boudra >>> wrote: On 21 August 2013 16:57, Phi Debian wrote: > I am git iliterate, looking at https://git.linaro.org/gitweb, > git://git.linaro.org/kernel/linaro-aarch64.git seems the latest... How > could I get a better one? We need to update this page. As Riku said: * latest linux-linaro https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git (linux-linaro branch) or * latest mainline kernel https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.11-rc6 > Phi > > > > On Wed, Aug 21, 2013 at 1:33 PM, Phi Debian wrote: >> Well not being a got expert I did the line given in the receipe >> https://wiki.linaro.org/HowTo/BuildArm64Kernel >> >> % git clone git://git.linaro.org/kernel/linaro-aarch64.git >> % cd linaro-aarch64 >> % git checkout -b linaro-aarch64 origin/linaro-aarch64 >> >> I dunno how to get the latest? >> Cheers, >> Phi >> >> >> >> On Wed, Aug 21, 2013 at 12:46 PM, Riku Voipio >> wrote: >>> Hi Phi Debian, >>> > 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 >>> >>> You might want to try to build a newer kernel, either the latest >>> linux-linaro or latest mainline kernel. >>> >>> Riku -- Fathi Boudra Builds and Baselines Manager | Release Manager Linaro.org | Open source software for ARM SoCs ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
got this working tsocks git clone git://git.linaro.org/kernel/linux-linaro-tracking.git Cheers, Phi On Wed, Aug 21, 2013 at 5:01 PM, Phi Debian wrote: > Do I need some credential to do this ? > > CU82$ tsocks git clone https://git.kernel.org/cgit/linux/kernel/git/torvalds/> > Cloning into v3.11-rc6... > warning: remote HEAD refers to nonexistent ref, unable to checkout. > > CU82$ tsocks git clone > https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git > Cloning into linux-linaro-tracking... > fatal: > https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git/info/refs > not > found: did you run git update-server-info on the server? > > > > On Wed, Aug 21, 2013 at 4:24 PM, Phi Debian wrote: >> Super >> I try that immedialty. >> >> Regarding the web page, I went throuh it a couple of iteration in July >> then Aug, and amazingly the links to version specif stuff where always >> accurate like >> >> wget >> http://releases.linaro.org/13.07/openembedded/aarch64/img-foundation.axf or >> wget http://releases.linaro.org/12.10/components/toolchain/... >> >> letting me think that all was accurate, so I was looping on this broken link >> :) >> >> I let you know my progress. >> Cheers, >> Phi >> >> On Wed, Aug 21, 2013 at 3:45 PM, Fathi Boudra >> wrote: >>> On 21 August 2013 16:57, Phi Debian wrote: I am git iliterate, looking at https://git.linaro.org/gitweb, git://git.linaro.org/kernel/linaro-aarch64.git seems the latest... How could I get a better one? >>> >>> We need to update this page. >>> >>> As Riku said: >>> * latest linux-linaro >>> https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git >>> (linux-linaro branch) >>> or >>> * latest mainline kernel >>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.11-rc6 >>> Phi On Wed, Aug 21, 2013 at 1:33 PM, Phi Debian wrote: > Well not being a got expert I did the line given in the receipe > https://wiki.linaro.org/HowTo/BuildArm64Kernel > > % git clone git://git.linaro.org/kernel/linaro-aarch64.git > % cd linaro-aarch64 > % git checkout -b linaro-aarch64 origin/linaro-aarch64 > > I dunno how to get the latest? > Cheers, > Phi > > > > On Wed, Aug 21, 2013 at 12:46 PM, Riku Voipio > wrote: >> Hi Phi Debian, >> 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 >> >> You might want to try to build a newer kernel, either the latest >> linux-linaro or latest mainline kernel. >> >> Riku >>> >>> >>> >>> -- >>> Fathi Boudra >>> Builds and Baselines Manager | Release Manager >>> Linaro.org | Open source software for ARM SoCs ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
Do I need some credential to do this ? CU82$ tsocks git clone https://git.kernel.org/cgit/linux/kernel/git/torvalds/> Cloning into v3.11-rc6... warning: remote HEAD refers to nonexistent ref, unable to checkout. CU82$ tsocks git clone https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git Cloning into linux-linaro-tracking... fatal: https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git/info/refs not found: did you run git update-server-info on the server? On Wed, Aug 21, 2013 at 4:24 PM, Phi Debian wrote: > Super > I try that immedialty. > > Regarding the web page, I went throuh it a couple of iteration in July > then Aug, and amazingly the links to version specif stuff where always > accurate like > > wget http://releases.linaro.org/13.07/openembedded/aarch64/img-foundation.axf > or > wget http://releases.linaro.org/12.10/components/toolchain/... > > letting me think that all was accurate, so I was looping on this broken link > :) > > I let you know my progress. > Cheers, > Phi > > On Wed, Aug 21, 2013 at 3:45 PM, Fathi Boudra wrote: >> On 21 August 2013 16:57, Phi Debian wrote: >>> I am git iliterate, looking at https://git.linaro.org/gitweb, >>> git://git.linaro.org/kernel/linaro-aarch64.git seems the latest... How >>> could I get a better one? >> >> We need to update this page. >> >> As Riku said: >> * latest linux-linaro >> https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git >> (linux-linaro branch) >> or >> * latest mainline kernel >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.11-rc6 >> >>> Phi >>> >>> >>> >>> On Wed, Aug 21, 2013 at 1:33 PM, Phi Debian wrote: Well not being a got expert I did the line given in the receipe https://wiki.linaro.org/HowTo/BuildArm64Kernel % git clone git://git.linaro.org/kernel/linaro-aarch64.git % cd linaro-aarch64 % git checkout -b linaro-aarch64 origin/linaro-aarch64 I dunno how to get the latest? Cheers, Phi On Wed, Aug 21, 2013 at 12:46 PM, Riku Voipio wrote: > Hi Phi Debian, > >>> 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 > > You might want to try to build a newer kernel, either the latest > linux-linaro or latest mainline kernel. > > Riku >> >> >> >> -- >> Fathi Boudra >> Builds and Baselines Manager | Release Manager >> Linaro.org | Open source software for ARM SoCs ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
Super I try that immedialty. Regarding the web page, I went throuh it a couple of iteration in July then Aug, and amazingly the links to version specif stuff where always accurate like wget http://releases.linaro.org/13.07/openembedded/aarch64/img-foundation.axf or wget http://releases.linaro.org/12.10/components/toolchain/... letting me think that all was accurate, so I was looping on this broken link :) I let you know my progress. Cheers, Phi On Wed, Aug 21, 2013 at 3:45 PM, Fathi Boudra wrote: > On 21 August 2013 16:57, Phi Debian wrote: >> I am git iliterate, looking at https://git.linaro.org/gitweb, >> git://git.linaro.org/kernel/linaro-aarch64.git seems the latest... How >> could I get a better one? > > We need to update this page. > > As Riku said: > * latest linux-linaro > https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git > (linux-linaro branch) > or > * latest mainline kernel > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.11-rc6 > >> Phi >> >> >> >> On Wed, Aug 21, 2013 at 1:33 PM, Phi Debian wrote: >>> Well not being a got expert I did the line given in the receipe >>> https://wiki.linaro.org/HowTo/BuildArm64Kernel >>> >>> % git clone git://git.linaro.org/kernel/linaro-aarch64.git >>> % cd linaro-aarch64 >>> % git checkout -b linaro-aarch64 origin/linaro-aarch64 >>> >>> I dunno how to get the latest? >>> Cheers, >>> Phi >>> >>> >>> >>> On Wed, Aug 21, 2013 at 12:46 PM, Riku Voipio >>> wrote: Hi Phi Debian, >> 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 You might want to try to build a newer kernel, either the latest linux-linaro or latest mainline kernel. Riku > > > > -- > Fathi Boudra > Builds and Baselines Manager | Release Manager > Linaro.org | Open source software for ARM SoCs ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
On 21 August 2013 16:57, Phi Debian wrote: > I am git iliterate, looking at https://git.linaro.org/gitweb, > git://git.linaro.org/kernel/linaro-aarch64.git seems the latest... How > could I get a better one? We need to update this page. As Riku said: * latest linux-linaro https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git (linux-linaro branch) or * latest mainline kernel https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.11-rc6 > Phi > > > > On Wed, Aug 21, 2013 at 1:33 PM, Phi Debian wrote: >> Well not being a got expert I did the line given in the receipe >> https://wiki.linaro.org/HowTo/BuildArm64Kernel >> >> % git clone git://git.linaro.org/kernel/linaro-aarch64.git >> % cd linaro-aarch64 >> % git checkout -b linaro-aarch64 origin/linaro-aarch64 >> >> I dunno how to get the latest? >> Cheers, >> Phi >> >> >> >> On Wed, Aug 21, 2013 at 12:46 PM, Riku Voipio wrote: >>> Hi Phi Debian, >>> > 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 >>> >>> You might want to try to build a newer kernel, either the latest >>> linux-linaro or latest mainline kernel. >>> >>> Riku -- Fathi Boudra Builds and Baselines Manager | Release Manager Linaro.org | Open source software for ARM SoCs ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
I am git iliterate, looking at https://git.linaro.org/gitweb, git://git.linaro.org/kernel/linaro-aarch64.git seems the latest... How could I get a better one? Phi On Wed, Aug 21, 2013 at 1:33 PM, Phi Debian wrote: > Well not being a got expert I did the line given in the receipe > https://wiki.linaro.org/HowTo/BuildArm64Kernel > > % git clone git://git.linaro.org/kernel/linaro-aarch64.git > % cd linaro-aarch64 > % git checkout -b linaro-aarch64 origin/linaro-aarch64 > > I dunno how to get the latest? > Cheers, > Phi > > > > On Wed, Aug 21, 2013 at 12:46 PM, Riku Voipio wrote: >> Hi Phi Debian, >> 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 >> >> You might want to try to build a newer kernel, either the latest >> linux-linaro or latest mainline kernel. >> >> Riku ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
Well not being a got expert I did the line given in the receipe https://wiki.linaro.org/HowTo/BuildArm64Kernel % git clone git://git.linaro.org/kernel/linaro-aarch64.git % cd linaro-aarch64 % git checkout -b linaro-aarch64 origin/linaro-aarch64 I dunno how to get the latest? Cheers, Phi On Wed, Aug 21, 2013 at 12:46 PM, Riku Voipio wrote: > Hi Phi Debian, > >>> 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 > > You might want to try to build a newer kernel, either the latest > linux-linaro or latest mainline kernel. > > Riku ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
Hi Phi Debian, >> 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 You might want to try to build a newer kernel, either the latest linux-linaro or latest mainline kernel. Riku ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Can't boot my fresh build armv8 linaro kernel/
Hi Fathi Ha, ouch, I wrote a request into linaro-kernel in July... Ok you cc'ed linaro.dev, let see if one can help. My need is to boot a freshly build kernel, with a standard (regular?) rootfs. I provide here more detail about what I did today. I first downloaded and boot a pre-build system like this. Dowloaded this as explained at http://www.linaro.org/engineering/engineering-projects/armv8 FM000-KT-00035-r0p8-48rel5.tgz gcc-linaro-aarch64-linux-gnu-4.8-2013.07-1_linux.tar.xz img-foundation.axf vexpress64-openembedded_lamp-armv8_20130719-403.img.gz I exploded the img.gz into rootfs.img And booted like this ./Foundation_v8pkg/models/Linux64_GCC-4.1/Foundation_v8 --image ./img-foundation .axf --block-device ./rootfs.img --network=nat All boot fine and I get this at the console root@genericarmv8:~# uname -a Linux genericarmv8 3.10.1.0-1-linaro-vexpress64 #1ubuntu1~ci+130718012724 SMP Thu Jul 18 01:30:58 UTC 2013 aarch64 GNU/Linux root@genericarmv8:~# The to build a kernel I follow this receipe https://wiki.linaro.org/HowTo/BuildArm64Kernel With the little variation tha tI used the 4.8 toolchain (My prev attempt failed the same way with 4.7). So I get the gits given on the receipe page. >From there I can sucessfully build the kernel for this git source. CU82$ ls boot-wrapper-aarch64 linaro-aarch64 CU82$ ll linaro-aarch64/vmlinux -rwxr-xr-x 1 phi phi 66629618 Aug 21 10:34 linaro-aarch64/vmlinux And an Image is built too CU82$ ll linaro-aarch64/arch/arm64/boot/Image -rwxr-xr-x 1 phi phi 4878372 Aug 21 10:34 linaro-aarch64/arch/arm64/boot/Image I can verify with strings that is is all my build in there. >From there I followed the receipe to obtain a boot loader I made the symlinks as specified and made the make for vexpress. make clean make CROSS_COMPILE=aarch64-linux-gnu- BOOTARGS='"root=/dev/vda2 consolelog=9 rw console=ttyAMA0"' FDT_SRC=vexpress-foundation-v8.dts IMAGE=linux-system-foundation.axf I got a .axf file CU82$ ll boot-wrapper-aarch64/*axf -rwxr-xr-x 1 phi phi 5114841 Aug 21 09:41 boot-wrapper-aarch64/linux-system-foun dation.axf And I am stuck there I dunno what to do with the the Image and linux-system-foun dation.axf, I thought I got to boot the linux-system-foundation.axf with the original rootfs.img unchanged but it doesn't work ./Foundation_v8pkg/models/Linux64_GCC-4.1/Foundation_v8 --image ./boot.axf --bl ock-device ./rootfs.img --network=nat (boot.axf is a cp of the linux-system-foundation.axf) . . . msgmni has been set to 7928 io scheduler noop registered io scheduler cfq registered (default) vda: vda1 vda2 smc91x: IOADDR ff81a000 doesn't match configuration (300). smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre eth0: SMC91C11xFD (rev 1) at ff81a000 IRQ 47 [nowait] eth0: Ethernet addr: 00:02:f7:ef:7e:f2 mousedev: PS/2 mouse device common for all mice TCP: cubic registered NET: Registered protocol family 17 EXT3-fs (vda2): error: couldn't mount because of unsupported optional features (240) EXT2-fs (vda2): error: couldn't mount because of unsupported optional features (240) EXT4-fs (vda2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 254:2. Freeing init memory: 164K INIT: version 2.88 booting init[390]: undefined instruction: pc=007f9c80e4b8 Code: 2947bcce d50339bf b94038cd d5033fdf (d53be029) init[1]: undefined instruction: pc=007f9c80e4b8 Code: 2947bcce d50339bf b94038cd d5033fdf (d53be029) Kernel panic - not syncing: Attempted to kill init! exitcode=0x0004 Call trace: [] dump_backtrace+0x0/0x12c [] dump_stack+0x14/0x1c [] panic+0xe8/0x208 [] do_exit+0x714/0x7c0 [] do_group_exit+0x3c/0xd0 [] get_signal_to_deliver+0x150/0x48c [] do_signal+0x5c0/0x5dc [] do_notify_resume+0x84/0x94 Thanx in advance for any help, for booting a freshly made kernel. Cheers, Phi On Wed, Aug 21, 2013 at 11:09 AM, Fathi Boudra wrote: > Hi, > > On 21 August 2013 12:46, Phi Debian 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/armv8 > http://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 > >
Re: Can't boot my fresh build armv8 linaro kernel/
Hi, On 21 August 2013 12:46, Phi Debian 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/armv8 http://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 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev