Add scripts to make 32bit and 64 bit os image #560
Conversation
@tk26eng Add target to For example,
And we want to unity the document directory to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented, please check them! 👍
@hadusam |
@hadusam How about this PR? |
@iizukak Oh, sorry for late. I will check this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tk26eng
Sorry for the late response ><
Overall, please use braces in your bash scripts for readability, e.g. $ROOTFS_DIR/usr/bin/
-> ${ROOTFS_DIR}/usr/bin/
.
Also, I added nit-pick comments, please check them.
LGTM except for comments! 👍 So, please fix them! 🙇
@hadusam |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Readability Approval, except for comments 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks 👍
@iizukak |
@tk26eng OK will be merged after CI passed. |
This PR is for adding configurations for docker and scripts which can run on the docker to make rootfs of Ubuntu.
Motivation and Context
Now we want to support new os Ubuntu (bionic) as next distribution and 32bit and 64bit ARM CPU should be supported with them. I created docker configurations and some useful scripts to generate rootfs of Ubuntu.
Description
To know how to generate rootfs actually, please see
docs/install/make_rootfs.md
. I'll merge the contents of the file to Blueoil document after all required things like kernel or kernel modules are ready.How has this been tested?
Test has been performed on host machine of Ubuntu 16.04. On the host, following commands were performed.
After these commands, we can see the generated files (
rootfs_armhf.tgz
androotfs_arm64.tgz
) underblueoil/dlk/hw/make_os/build
.About
rootfs_armhf.tgz
, I tested it on DE10-Nano with kernel of Blueoil's OS image.About
rootfs_arm64.tgz
, I tested it on Ultra96v2 with test kernel for Ultra96v2 (This is not merged yet).In those two environment, generated Ubuntu worked well.
Screenshots (if appropriate):
Types of changes
Checklist: