Hi everyone,
After a break, we are again having a cross distribution collaboration
session[1]. The event is on wednesday 12.10pm PST (aka 19.10 UTC). The
session will be broadcast on google hangouts[2] for remote
participation.
If you have any great ideas you think other ARM distributions would
benefit as well, wish to see something standardized, or have some
gripes about supporting ARM - now is your chance to get heard. If you
can't make it on wednesday (or just want to start discussing
already!), feel free to email the cross-distro mailing listing and I
can get it added to the agenda anyways.
Riku
[1] http://lcu-13.zerista.com/event/member/85125
[2] https://plus.google.com/events/c73vv18k4b74g8ku7frnp31h4jc?partnerid=gplp0e…
Hi everyone,
We have registered a session for cross-distribution collaboration
issues. Right new it has been preliminary scheduled for Wed 30th
12.10pm. There should also be google hangout for remote attendance.
http://lcu-13.zerista.com/event/member/85125
I suggested a couple of items for Agenda:
- Review status of various distributions ARMv7 and ARMv8 support
- State of Single zImage kernel for distributions
- Discuss boot environment standardization (U-Boot/UEFI/GRUB best
practices, dtb file install locations)
- Getting remaining OSS software ported to ARMv8
- Identifying common pain points Linaro could solve
Anything else you might want to standardize on ARM linux? Feel free to
reply here and I'll add it to the list of things to talk about :)
Riku
Hi Thorsten,
The 'lstat' issue is fixed now and with this fix, only 3 tests fail on mksh
all of which are ignored as below.
......
pass ./check.t:history-subst-4
pass ./check.t:history-subst-5
FAIL ./check.t:history-ed-1 (ignored)
Description:
Basic (ed) editing works (assumes you have generic ed editor
that prints no prompts). This is for newish ed(1) and
stderr.
unexpected exit status 32512 (exit-code 127), expected 0
unexpected stdout - got too little output
wanted:
abc def
FOOBAR def
got:
abc def
unexpected stderr - wanted pattern:
/^X*13\n16\necho FOOBAR def\nX*$/
got:
XX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
/bin/ed: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[3]: s/abc/FOOBAR/: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[4]: w: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[5]: q: not found
X
[incomplete last line]
FAIL ./check.t:history-ed-2 (ignored)
Description:
Correct command is edited when number given
unexpected exit status 32512 (exit-code 127), expected 0
unexpected stdout - got too little output
wanted:
line 1
line 2 is here
line 3
line 4
line 2 is changed
got:
line 1
line 2 is here
line 3
line 4
unexpected stderr - wanted pattern:
/^X*20\n23\necho line 2 is changed\nX*$/
got:
XXXXX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
/bin/ed: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[6]: s/is: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[7]: w: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[8]: q: not found
X
[incomplete last line]
FAIL ./check.t:history-ed-3 (ignored)
Description:
Newly created multi line commands show up as single command
in history.
unexpected stdout - first difference: line 2, char 1 (wanted 'F',
got 'a'
wanted:
abc def
FOOBAR def
a new line
1 echo abc def
2 echo FOOBAR def
3 echo a new line
got:
abc def
a new line
1 echo abc def
2 fc echo
3 s/abc/FOOBAR/
4 $a
5 echo a new line
6 .
7 w
8 q
unexpected stderr - wanted pattern:
/^X*13\n32\necho FOOBAR def\necho a new line\nX*$/
got:
XX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
/bin/ed: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[3]: s/abc/FOOBAR/: not found
XXX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[6]: .: missing argument
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[7]: w: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[8]: q: not found
XX
[incomplete last line]
pass ./check.t:IFS-space-1
. . .
pass ./check.t:debian-117-4
pass ./check.t:case-zsh
pass ./check.t:case-braces
pass ./check.t:command-shift
pass ./check.t:duffs-device
Total failed: 3 (3 ignored)
Total passed: 433
Thanks and Regards,
Anil
On 10 October 2013 01:45, Thorsten Glaser <tg(a)mirbsd.de> wrote:
> Neil Williams dixit:
>
> >The only failure which did not have an (ignored) tag was:
> >
> >FAIL ./check.t:glob-bad-2
>
> Hrm okay. This may indicate that lstat(2) is broken, or it
> may just be a problem with the test environment (this test
> is disabled on some architectures as it relies on a dangling
> symlink to be tested for being not dereferenced).
>
> What does lstat("foo") report for 'ln -s nonexistent foo'?
>
> bye,
> //mirabilos
> --
> "Using Lynx is like wearing a really good pair of shades: cuts out
> the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
> -- Henry Nelson, March 1999
>
Hi,
I am trying to port klibc to aarch64. My code is available from:
git clone git://git.linaro.org/people/anil.singhar/klibc-aarch64.git
At this point, I am trying to fix the following issues. Any help / comment
/ advice / suggestion is highly appreciated.
1. Need to find the correct value for *KLIBCSHAREDFLAGS *(What value should
I set *Ttext* to in the aarch64 specific MCONFIG file?). Right now the
MCONFIG looks as follows:
# -*- makefile -*-
#
# arch/aarch64/MCONFIG
#
# Special rules for this architecture. Note that this is actually
# included from the main Makefile, and that pathnames should be
# accordingly.
#
CPU_ARCH ?= armv8-a
CPU_TUNE ?= generic
KLIBCOPTFLAGS += -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE)
KLIBCBITSIZE = 64
KLIBCREQFLAGS += -fno-exceptions
#KLIBCSTRIPFLAGS += -R .ARM.exidx
# Extra linkflags when building the shared version of the library
# This address needs to be reachable using normal inter-module
# calls, and work on the memory models for this architecture
*#KLIBCSHAREDFLAGS = -Ttext 0x01800200* *<-- Is this value correct..?*
#KLIBCREQFLAGS +=
#KLIBCOPTFLAGS += -mgeneral-regs-only
2. The *stat* family of syscalls don't work correctly. There is only one
actual syscall: fstat, which is used by lstat and stat. The syscall doesn't
seem to return valid values for target files. e.g. The following fields are
wrong:
toot@genericarmv8:~/anilss/AArch64/klibc-aarch64/usr/klibc/tests# ./stat
test.out
Path = test.out
st_dev = 0x11 (0,17)
st_ino = 5910539
st_mode = 0
st_nlink = 4295000484 <-- This is wrong
st_uid = 0
st_gid = 0
st_rdev = 0x0 (0,0)
st_size = 15
st_blksize = 1380537164
st_blocks = 223008806
st_atim = 1048576.000000008
st.mtim = 1380612975.029926968
st.ctim = 1380537164.223008806
Because the fields are wrong, the parsed values are also wrong.
Applications such as ls, gzip etc. fail to work because they rely on this
syscall.
Since I am doing the development on ARMv8 Foundation model using linaro
openembedded image, is there a debug version of the kernel (the one *
img-foundation.axf*) that I can use to debug the syscall itself in kernel
mode using kgdb? Any other debugging ideas..?
Thanks and Regards,
Anil
Hi:
I am trying to prepare a cross compilation environment for porting some
packages to aarch64. My final objective is:
(i) To be able to build a given package (such as klibc) on x86_64 Ubuntu
machine and
(ii) To be able to build the same package without any changes natively on
ARMv8 Foundation model
(iii) To be able to run the package on ARMv8 foundation model.
In this context, I am contemplating the following steps:
(a) Cross compile "Linux genericarmv8 3.10.1.0-1-linaro-vexpress64", which
is used on the foundation model, on x86_64 machine.
to avoid any in-compatibilty.
(b) Cross compile the package (e.g. klibc)
At this point, I am trying to do (a), i.e. cross compile "Linux
genericarmv8 3.10.1.0-1-linaro-vexpress64". I followed the steps @
http://releases.linaro.org/13.07/openembedded/aarch64/
under the section: "Building from Source"
I run into the following error:
------------------------------------------
anilss@anilss:~/linaro/openembedded$ bash jenkins-setup/init-and-build.sh
GCC version: 4.8
Target architecture: armv8
object e76efdd7b342577c40aa271fa5ded9d66a783a9b
type commit
tag v1.12.4
tagger Conley Owens <cco3(a)android.com> 1380645867 -0700
repo 1.12.4
gpg: Signature made Tuesday 01 October 2013 10:14:27 PM IST using RSA key
ID 692B382C
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.4'
fatal: repo init failed; run without --quiet to see why
error: command 'sync' requires repo to be installed first.
Use "repo init" to install it here.
real 0m0.034s
user 0m0.032s
sys 0m0.000s
jenkins-setup/init-and-build.sh: line 50: cd: poky: No such file or
directory
jenkins-setup/init-and-build.sh: line 53: oe-init-build-env: No such file
or directory
jenkins-setup/functions.sh: line 70: conf/bblayers.conf: No such file or
directory
/home/anilss/linaro/openembedded/../openembedded-core/meta: No such file or
directory
jenkins-setup/functions.sh: line 84: conf/bblayers.conf: No such file or
directory
jenkins-setup/functions.sh: line 92: conf/site.conf: No such file or
directory
jenkins-setup/functions.sh: line 147: conf/site.conf: No such file or
directory
sed: can't read conf/local.conf: No such file or directory
plenty of space, no cleanup
jenkins-setup/init-and-build.sh: line 62: bitbake: command not found
anilss@anilss:~/linaro/openembedded$
---------------------------------------------------------------------------------------------------------------------------------
Is there anything I am missing that is not mentioned in those steps..?
Greatly appreciate any help.
Thanks and Regards,
Anil