-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create official Parallella "Nano" Image #1
Comments
I've prepared the saucy Ubuntu rootfs with lxde and all the things from pt. 2. It is available here: just unpack it onto second partition of sd card (ext4 formatted) please test it and give me feedback about it. |
Fantastic!!!!!! I'll try it and let you know asap. Can you document the steps you went through to get from the virgin linaro image to this one step by step (installed packages and any file edits needed?) |
the steps needed:
#!/bin/bash
mknod ttyPS0 c 251 0
mknod fb0 c 29 0
mkdir dri
mknod dri/card0 c 226 0
mknod dri/controlD64 c 226 64
mkdir input
mknod input/event0 c 13 64
mknod input/event1 c 13 65
mknod input/event2 c 13 66
mknod input/mice c 13 63
mknod input/mouse0 c 13 32
#ssh server
apt-get install openssh-server
#ifplugd network connection deamon
apt-get install ifplugd
#network manager package
apt-get install network-manager
#lxde (this takes some time)
apt-get install lxde
reboot
#or poweroff (and manually powercycle) with
poweroff
|
This is great. |
Also, please provide command line for unpacking the rootfs to the sd card. This is what I used in the past, but if there is a better way, please tell me. Thanks! sudo tar -zxvf linaro-saucy-developer-20131216-586.tar.gz
cd binary
sudo rsync -a --progress ./ /media/"username"/rootfs |
#make device node for serial virtual console - it is required for get serial console in Ubuntu
mknod ttyPS0 c 251 0
#make device node for framebuffer - required by Xorg
mknod fb0 c 29 0
#make dri folder
mkdir dri
#make device node for first graphic card - required by Xorg
mknod dri/card0 c 226 0
#make device node for graphic card control - required by Xorg
mknod dri/controlD64 c 226 64
#make folder for input device nodes
mkdir input
#create nodes for input devices - keyboard and usb mouse
#Xorg uses those to capture input events
mknod input/event0 c 13 64
mknod input/event1 c 13 65
mknod input/event2 c 13 66
mknod input/mice c 13 63
mknod input/mouse0 c 13 32
sudo tar -xvf nano-rootfs-small.tar.gz -C /path/to/mmc/partition #in Ubuntu it is usually located in /media/<partition_label>
sync |
Great! LXDE is up and running but I am not seeing the ethernet port. Noticed that there are less eth messages (like setting the clock) compared to before: root@linaro-nano:~# dmesg | grep eth This is what ifonfig returns. What am I missing? root@linaro-nano:~# ifconfig |
How come there is an eth2 instead of eth0? root@linaro-nano:~# ifconfig -a lo Link encap:Local Loopback |
Since every board has a different MAC address..this files looks suspicious. Every board should wake up with eth0:
|
I figure out what is going on with the network. At the boot time Ubuntu search for network devices and generates udev rules for the specific device (recognized by mac addr) and if you run the same system on different hardware it will be recognized as new device and new udev rule will be generated where network device will get new name. That is why you get eth1 and eth2 instead of eth0 when you run Ubuntu on different boards. |
We also need network-manager package to get ethernet working automatically. |
New rootfs tarball (with working networking) is available here: |
I've updated the tarball from previous comment with xorg.conf file which significantly speeds up the graphic system. Also the above instruction was extended with information how to add this file to rootfs. |
IGNORE MESSAGE BELOW! Are you sure there isn't a missing step. I am not getting a serial port command prompt when follwoing the recipe from scratch: bad sd card or user errror or is there something missing in the recipe?
|
I was digging through the parallella forum and in the post about creating Ubuntu with LXDE i saw that there is missing information about adding Xorg.conf file to the root file system (pt 3. in above instruction). Without this file the system runs quite slow and the display blinks. Since I have no power to edit forum posts I'm reporting it here. |
We need to create an official Parallella image by the end of this week. Here is the base line.
1.) Linux kernel based on the latest parallella-linux-adi tree
(Including the recent additions for USB sound, and docker)
https://releases.linaro.org/14.02/ubuntu/saucy-images/nano
-serial port (I wasn't getting a console)
-screen (hdmi prompt)
-ethernet (I had to modify the /etc/network/interfaces and install ssh)
-install the lxde interface
The text was updated successfully, but these errors were encountered: