Skip to content

Create upgrading-ev3dev-using-shell - #218

Closed
rikblok wants to merge 3 commits into
ev3dev:masterfrom
rikblok:patch-1
Closed

rikblok wants to merge 3 commits into
ev3dev:masterfrom
rikblok:patch-1

Conversation

@rikblok

@rikblok rikblok commented Aug 27, 2016

Copy link
Copy Markdown

I couldn't find all this information in one place and thought it might be useful.

I couldn't find all this information in one place and thought it might be useful.
Once you've written the ev3dev image to the SD card, booted, and setup a network
connection, you may want to update to the latest kernel. To do so:

1. Connect to the EV3 using SSH. (Wireless or USB.) The default login is

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ev3dev supports hardware other than EV3s (e.g. BrickPi, PiStorms, EVB) so maybe call it "the ev3dev device."

@WasabiFan

Copy link
Copy Markdown
Member

Thanks, I definitely think we need this!

I added some comments; they're just cosmetic/style changes for the most part, the content itself is great.

Thanks for the review, Wasabi Fan, I've incorporated your suggestions!
@WasabiFan

Copy link
Copy Markdown
Member

I just realized that the file is missing an extension (which is required for it to render properly). Can you add .md to the end?

@WasabiFan

Copy link
Copy Markdown
Member

There are some formatting issues right now; the code isn't formatted as code, and the code and text/alert aren't inside the list element. The problem is... I can't figure out how to fix it. @dlech do you know?

@WasabiFan

Copy link
Copy Markdown
Member

Other than the formatting, this looks good to me.

{: .alert .alert-warning}

3. After the brick has rebooted, press `About` on the brick's menu to confirm it
has a current kernel.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

screen shot would be nice here.

@dlech

dlech commented Aug 27, 2016

Copy link
Copy Markdown
Member

This is a good start, but I think it could be much more informative. For example...

  • Explain that apt-get update gets a list of packages from the package repositories. If you don't do this, subsequent commands will most likely fail.
  • Explain that apt-get upgrade upgrades all packages. You rarely want to do this unless you like sitting around for a long time waiting for it to complete or you are the kind of person who has to have everything up to date.
  • You can upgrade individual packages with apt-get install <package-name>. This is a better option for most people.
  • To upgrade the kernel, run apt-get install linux-image-ev3dev-ev3 (or -rpi or -rpi2 or -bb.org if you have RPi 0/1, RPi 2/3 or BeagleBone respectivly)
  • You only need to reboot if the kernel was actually upgraded.

@dlech

dlech commented Aug 27, 2016

Copy link
Copy Markdown
Member

As for the list formatting, the blocks that are new paragraphs of the same list item need to be indented as much as the text of the first item. I like to put two spaces between 1. and the text so that additional blocks are indented 4 spaces as is common in markdown. Also, you will probably have to use html tags instead of liquid templating within list items to make it work.

1.  Item 1
2.  Item 2

    Continuing item 2

    <div class="fancy">Fancy thing in item 2</div>

3.  Item 3

@WasabiFan

Copy link
Copy Markdown
Member

This is a good start, but I think it could be much more informative. For example...

Good ideas.

As for the list formatting, the blocks that are new paragraphs of the same list item need to be indented as much as the text of the first item... Also, you will probably have to use html tags instead of liquid templating within list items to make it work.

I couldn't get that to work. I added <pre> and <code> tags around the code, but the area of the <pre> was 2x taller than necessary. I suspect it's an issue with CSS though.

@dlech

dlech commented Aug 27, 2016

Copy link
Copy Markdown
Member

If you have code within a list item, indent it 8 spaces instead of 4

@WasabiFan

Copy link
Copy Markdown
Member

@rikblok Are you able to make the additions that @dlech suggested? This page is great and we really do need upgrade instructions, so I would like to get this finished. If you don't have the time to do it, that's totally fine; I can finish it up for you if you'd like.

@rikblok

rikblok commented Sep 5, 2016

Copy link
Copy Markdown
Author

Thanks @WasabiFan, I'm going to busy for the next few weeks so it would be great if you can finish it up.

Thanks for all your help!

@WasabiFan

Copy link
Copy Markdown
Member

No problem; I'll branch off of your changes when I can and make that fix. Thanks for contributing!

@WasabiFan WasabiFan self-assigned this Sep 5, 2016
@WasabiFan

Copy link
Copy Markdown
Member

I've built upon the changes here and opened #236 as a result.

@WasabiFan WasabiFan closed this Sep 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants