This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS5v5.10 Linux Kernel & Application Workshop with Snowball

Note: This was originally posted on 6th July 2012 at http://forums.arm.com

Hi all,

Pardon my noob status - I'm trying to follow the above tutorial but stuck at downloading the Linux Kernel to my Snowball (page 89). The instruction reads "In order to find the kernel sources, duplicate the deb line in /etc/apt/sources.list.d/hwpack.linaro-landing-team-ste.list and replace deb with deb-src". How do I carry out this instruction? I'm really confused!

FadilSG
  • Note: This was originally posted on 6th July 2012 at http://forums.arm.com

    You need to edit the file on the target.  There are various ways to do that.  You could be use vi or some other editor over the serial console.  You could use Remote System Explorer in Eclipse to open and edit the file.  Since it's small, you could compose the file on the host and then use cat [sic] and paste over the serial console.
  • Note: This was originally posted on 6th July 2012 at http://forums.arm.com

    So I just need to open the file in RSE view on DS5 and replace deb with deb-src? OK thanks for the info!
  • Note: This was originally posted on 6th July 2012 at http://forums.arm.com

    Mostly ... the instructions say to duplicate the line and make the change in the copy.  The file will have both the original line and the changed copy.
  • Note: This was originally posted on 9th July 2012 at http://forums.arm.com

    Ok, got that. Now I'm stuck at another part of the workshop. I'm doing Debugging Kernel Initialisation after MMU is turned on (skipped 'debugging before MMU is turned on' as it seemed optional). When I completed debug configurations, it landed at this stage (see attachment). How to fix this?
  • Note: This was originally posted on 9th July 2012 at http://forums.arm.com

    The screenshot looks pretty much as I would expect for connecting to a running, idle kernel.  Except that you've managed to link the Commands view to "U-Boot".  You probably want to change it to "Linked: kernel".

    If there's a different problem, can you give more details of what you expect and what is different?
  • Note: This was originally posted on 10th July 2012 at http://forums.arm.com

    OK I've changed the command line to kernel. I've actually went back to debugging before the MMU gets turned on. A few bumps along the way but I managed to sort them out.

    Currently I'm at page 24. My snowball still hasn't fully booted up Linux, so when the instructions state, "When the kernel finished booting it will prompt you to login.  Type ls to the terminal window to list the files in the current directory", what does it mean? I have to let Linux be fully loaded? I tried that and I can't proceed to the next instruction.

    FadilSG
  • Note: This was originally posted on 10th July 2012 at http://forums.arm.com

    Yes, if the debugger has the target stopped, the kernel won't be able to finish booting.  I think that page is missing: "Clickthe Continue button and let the kernel finish booting." above "When the kernel finished booting..."