Skip to content

Buildroot s390 image#26

Closed
nickdesaulniers wants to merge 2 commits into
masterfrom
buildroot_s390_image
Closed

Buildroot s390 image#26
nickdesaulniers wants to merge 2 commits into
masterfrom
buildroot_s390_image

Conversation

@nickdesaulniers

Copy link
Copy Markdown
Member

No description provided.

@nickdesaulniers

Copy link
Copy Markdown
Member Author

I'll rebase this once #25 lands, then it should be clearer that it's just a small change to rebuild.sh and a new image file. I would appreciate it if @eaibmz reviewed the buildroot config file; we don't need an advanced userspace image, these are for simple boot testing, then powering down the machine.

Comment thread buildroot/s390.config
BR2_KERNEL_HEADERS_4_4=y
BR2_GCC_VERSION_8_X=y
BR2_TARGET_GENERIC_ROOT_PASSWD="root"
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this port correct? I copied this from a different arch's config, so I suppose it's likely incorrect.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest using configs/qemu_s390x_defconfig as a template or are there reasons for not doing it ?

Link: ClangBuiltLinux/continuous-integration#232
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Currently fails to boot with:
512m -nodefaults -serial mon:stdio
KASLR disabled: CPU has no PRNG
Linux version 5.9.0-00732-g04ed4527465f (ndesaulniers@ndesaulniers1.mtv.corp.google.com) #30 SMP Fri Oct 16 15:49:05 PDT 2020Kernel fault: interruption code 0005 ilc:2
PSW : 0000200180000000 000000000001779e
      R:0 T:0 IO:0 EX:0 Key:0 M:0 W:0 P:0 AS:0 CC:2 PM:0 RI:0 EA:3
GPRS: 0000000000000001 0000000c00000000 00000003fffffff4 00000000fffffff0
      0000000000000000 00000000fffffff4 000000000000000c 00000000fffffff0
      00000000fffffffc 0000000000000000 00000000fffffff8 00000000008a75a8
      0000000000000009 0000000000000002 0000000000000008 000000000000bce0

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
@nathanchance nathanchance mentioned this pull request Jan 3, 2021
@nathanchance nathanchance linked an issue Jan 3, 2021 that may be closed by this pull request
@nickdesaulniers

Copy link
Copy Markdown
Member Author

fixed in #28

@nickdesaulniers nickdesaulniers deleted the buildroot_s390_image branch January 8, 2021 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

s390 image

2 participants