Minimal Debian Wheezy for Development&Emulation (Retro&Base)

deivid
Posts: 64
Joined: Wed Jun 05, 2013 11:34 pm
languages_spoken: english, spanish
ODROIDs: U2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by deivid » Sat Jun 08, 2013 12:05 am

What's the status of xbmc on this image?
I want to use my odroid (mainly) as an HTPC (xbmc + emulation)
Do you think this'd be the best image for that?

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Sun Jun 09, 2013 3:41 am

deivid wrote:What's the status of xbmc on this image?
I want to use my odroid (mainly) as an HTPC (xbmc + emulation)
Do you think this'd be the best image for that?
this image is just the basic Debian Wheezy loaded with the hardware-accelerated drivers

The only extras are a few 3d testing programs and RetroArch (so that you don't need to compile these to give them a try).

If you have Debian packages for XBMC then you can install them or you can also compile XBMC, at your choice.

This is Debian, you can make anything out of it :)
This is the best image for people that do not want a pre-packaged Ubuntu, so it's always your choice. If you have used Debian in the past you might know what I am talking about; it's not as hard-core as Gentoo and it's more stable/mainstream than Arch Linux

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Sun Jun 09, 2013 7:22 pm

New tests released: http://neagix.blogspot.com/2013/06/the- ... on-on.html

What are your results? :)

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by memeka » Sun Jun 09, 2013 8:26 pm

I reverted to your image, performance in Ubuntu is abysmal :(
Can't figure out what the issues are there :(
In 3.8 even with my fix, the GPU clock is set to 90MHz! and it results in 80fps in es2gears...

PS: your 3.0.79 kernel in 0.0.7 version does not have kernel support for online resize of root ext4 partition :( it worked in 0.0.6 ...
PSS: I think it does not work anymore because to changed to ext2... why did you do that? ext3/4 are just journaled versions... e.g. you can mount ext3/4 as ext2 partition if you want (they are backwards compatible)...

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Sun Jun 09, 2013 10:02 pm

memeka wrote:I reverted to your image, performance in Ubuntu is abysmal :(
Can't figure out what the issues are there :(
I know..
many issues..too many to take care of now.

Actually I plan to package a decent accelerated desktop version of my image in future
memeka wrote:In 3.8 even with my fix, the GPU clock is set to 90MHz! and it results in 80fps in es2gears...
:facepalm:
memeka wrote:PS: your 3.0.79 kernel in 0.0.7 version does not have kernel support for online resize of root ext4 partition :( it worked in 0.0.6 ...
PSS: I think it does not work anymore because to changed to ext2... why did you do that? ext3/4 are just journaled versions... e.g. you can mount ext3/4 as ext2 partition if you want (they are backwards compatible)...
I don't think it's because of ext2, maybe some module missing? I am going to fix this ASAP. Ideally I would format it back to ext4 and then mount as ext2 (because makes less writes to SD, that was the idea)

Right now I am waiting for mdrjr to answer to a question in another thread, because I'd like to use his built kernels (in an automated fashion)

Update: it's not that easy to mount ext4 as ext2. I am not sure that ext2 is a better choice than ext4 for SD/MMC devices, I wanted to switch to ext2 because it reduces writes. See also this great article.

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Mon Jun 10, 2013 4:10 am

0.7.1 released: http://neagix.blogspot.com/2013/06/odro ... d-now.html

you might want to run rsync -va on your current SD/MMC to get all the new goodies

aruangra
Posts: 11
Joined: Wed Jun 12, 2013 10:14 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by aruangra » Wed Jun 12, 2013 8:45 pm

I use 0.7.1 but network doesn't work. ifconfig returns only lo. Please advice.

Sent from my Nexus 7 using Tapatalk 2

deivid
Posts: 64
Joined: Wed Jun 05, 2013 11:34 pm
languages_spoken: english, spanish
ODROIDs: U2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by deivid » Wed Jun 12, 2013 8:54 pm

aruangra wrote:I use 0.7.1 but network doesn't work. ifconfig returns only lo. Please advice.

Sent from my Nexus 7 using Tapatalk 2
Wifi or ethernet?
output of lsmod?
output of dmesg?
output of lsusb (if using wifi)?

aruangra
Posts: 11
Joined: Wed Jun 12, 2013 10:14 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by aruangra » Wed Jun 12, 2013 8:56 pm

ethernet. lsmod returns usbmouse usbkbd smsc96xx usbhid and usbnet

Sent from my Nexus 7 using Tapatalk 2

deivid
Posts: 64
Joined: Wed Jun 05, 2013 11:34 pm
languages_spoken: english, spanish
ODROIDs: U2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by deivid » Wed Jun 12, 2013 9:17 pm

add

auto eth0
iface eth0 inet dhcp

to /etc/network/interfaces
then run ifup eth0

aruangra
Posts: 11
Joined: Wed Jun 12, 2013 10:14 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by aruangra » Thu Jun 13, 2013 3:06 am

Thank you. Ethernet finally works. I try to expand the partition using

Code: Select all

**** resize your partition to maximum space available:

    sudo fdisk /dev/mmcblk0
    p
    (see starting block of p2, e.g. 266240)
    d (delete)
    2 (partition 2)
    n (new)
    p (primary)
    2 (partition 2)
    266240 (starting block)
    <enter> (it will take ending block as end partition, so you have entire space)
    w (write partitions)

exit fdisk, reboot, then run:

    sudo resize2fs /dev/mmcblk0p2
But I got this error after applying the last commend

Code: Select all

root@odroid-wheezy:~# df -h
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                  880M  593M  243M  71% /
udev                                                     10M     0   10M   0% /dev
tmpfs                                                   193M  224K  193M   1% /run
/dev/disk/by-uuid/e139ce78-9841-40fe-8823-96a304a09859  880M  593M  243M  71% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                   385M     0  385M   0% /run/shm
/dev/mmcblk0p1                                          129M  3.5M  125M   3% /boot
root@odroid-wheezy:~# sudo resize2fs /dev/mmcblk0p2
resize2fs 1.42.5 (29-Jul-2012)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
resize2fs: Kernel does not support online resizing
root@odroid-wheezy:~#

Please advice.

deivid
Posts: 64
Joined: Wed Jun 05, 2013 11:34 pm
languages_spoken: english, spanish
ODROIDs: U2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by deivid » Thu Jun 13, 2013 7:03 am

aruangra wrote:Thank you. Ethernet finally works. I try to expand the partition using

Code: Select all

**** resize your partition to maximum space available:

    sudo fdisk /dev/mmcblk0
    p
    (see starting block of p2, e.g. 266240)
    d (delete)
    2 (partition 2)
    n (new)
    p (primary)
    2 (partition 2)
    266240 (starting block)
    <enter> (it will take ending block as end partition, so you have entire space)
    w (write partitions)

exit fdisk, reboot, then run:

    sudo resize2fs /dev/mmcblk0p2
But I got this error after applying the last commend

Code: Select all

root@odroid-wheezy:~# df -h
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                  880M  593M  243M  71% /
udev                                                     10M     0   10M   0% /dev
tmpfs                                                   193M  224K  193M   1% /run
/dev/disk/by-uuid/e139ce78-9841-40fe-8823-96a304a09859  880M  593M  243M  71% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                   385M     0  385M   0% /run/shm
/dev/mmcblk0p1                                          129M  3.5M  125M   3% /boot
root@odroid-wheezy:~# sudo resize2fs /dev/mmcblk0p2
resize2fs 1.42.5 (29-Jul-2012)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
resize2fs: Kernel does not support online resizing
root@odroid-wheezy:~#

Please advice.
#apt-get install gparted
#gparted

drag and drop the partition to the desired size

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Thu Jun 13, 2013 7:16 am

Regarding the network issue: the default configuration is already eth0 auto...it worked fine for me (I test them before release).

Regarding resizing: I always resize from a different linux before booting the SD, thus I never tried that from the ODROID itself. The missing module is the problem, are you sure that gparted can do that if the module is missing in kernel?

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by memeka » Thu Jun 13, 2013 7:50 am

It's not about any missing module....
Current kernels can resize online only ext3 and ext4.
So online resizing won't work with latest image - personally I reverted to 0.6 :) ext4 is much better than ext2.

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Fri Jun 14, 2013 2:56 pm

memeka wrote:It's not about any missing module....
Current kernels can resize online only ext3 and ext4.
So online resizing won't work with latest image - personally I reverted to 0.6 :) ext4 is much better than ext2.
You can always convert the partition right after flashing to SD a 0.7.1 or more recent image.

However it would be better for other users reading if you can logically explain "ext4 is much better than ext2", because I changed it for a reason :)

I know it is a "controversial" topic, but from what I have read (see https://wiki.linaro.org/WorkingGroups/K ... CardSurvey) and from my analysis I find ext2 making many less writes to SD than ext3/ext4, thus I picked it up to reduce the natural support wearout. I don't plan to keep this change as a "placebo", so if it is proven that I am mistaken I would indeed change it - however as far as I have understood all the alternatives are either false positives or irrelevant.

Everybody is obviously free to use any partition - literally any that you want, as I said just fire up gparted after flashing or do it through command line: http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/

In the new versions I release there are improvements that can obviously be added as stand-alone (IDesk, new kernels, scripts etc), but it's just "decorations" - you are not missing anything extremely important - customizing is always the way to go! :)

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by memeka » Fri Jun 14, 2013 4:22 pm

Well, ext2 is better for SDs because of the lack of journaling, since it will do less writes. No denying that :)

http://www.thegeekstuff.com/2011/05/ext2-ext3-ext4/

you can disable journaling in ext4 as well, resulting in less writes to the sd card. plus, you have a more modern filesystem, support for larger files, and some optimizations (multiblock allocation, delayed allocation, journal checksum. fast fsck etc) some of these which may help for a SD too (like delayed allocation).

in any case, I like my journal, even if it wears more quickly the SD, it can protect me from I/O errors. especially when compiling xbmc and kernel so often, I would like to have a consistent filesystem even with a half-functioning kernel :) saves me the trouble of restoring sometimes...

deivid
Posts: 64
Joined: Wed Jun 05, 2013 11:34 pm
languages_spoken: english, spanish
ODROIDs: U2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by deivid » Fri Jun 14, 2013 8:51 pm

I'm having problems with ethernet... I get disconnected at random times and I'm not sure why; do you know why is it? I saw another debian thread in the forum that says it "fixed ethernet issues" but doesn't specify which, nor provides an alternative image.
this does not happen with ubuntu/android, and I'm pretty sure it didn't happen on version 0.0.7, I'll check tonight

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Sat Jun 15, 2013 7:14 pm

memeka wrote:Well, ext2 is better for SDs because of the lack of journaling, since it will do less writes. No denying that :)

http://www.thegeekstuff.com/2011/05/ext2-ext3-ext4/

you can disable journaling in ext4 as well, resulting in less writes to the sd card. plus, you have a more modern filesystem, support for larger files, and some optimizations (multiblock allocation, delayed allocation, journal checksum. fast fsck etc) some of these which may help for a SD too (like delayed allocation).

in any case, I like my journal, even if it wears more quickly the SD, it can protect me from I/O errors. especially when compiling xbmc and kernel so often, I would like to have a consistent filesystem even with a half-functioning kernel :) saves me the trouble of restoring sometimes...
That's the thing...I did not manage to disable journaling on ext4, nor I tested how ext4 without journal performs vs ext2 - so I picked this conservative choice for now

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Sat Jun 15, 2013 7:17 pm

deivid wrote:I'm having problems with ethernet... I get disconnected at random times and I'm not sure why; do you know why is it? I saw another debian thread in the forum that says it "fixed ethernet issues" but doesn't specify which, nor provides an alternative image.
this does not happen with ubuntu/android, and I'm pretty sure it didn't happen on version 0.0.7, I'll check tonight
Hi deivid,

I exclude that there are ethernet issues in previous or current images - the only ethernet issue that was present in the first release was that on 1st boot it wouldn't bring up ethernet, but then on subsequent boots it would. This was due to new udev scripts in Debian which I didn't know about.

Did you really verify that it only happens with Debian and not with Ubuntu/Android? Verification implies many tests :)
Also to get support on this issue you should provide the dmesg messages regarding the ethernet disconnections, so we can give a look and give advices

Cheers!

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Mon Jun 17, 2013 3:14 pm

Is anybody experiencing issues with this image?

Frask
Posts: 2
Joined: Fri May 24, 2013 11:25 pm
languages_spoken: english, dutch
ODROIDs: Odroid-X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by Frask » Mon Jun 17, 2013 7:22 pm

I tried the image on my X2 and I got no networking either, but doing to following changed it (on version 0.7.1)
- replacing Zimage from the Mdrjr-build-site (http://builder.mdrjr.net/)
- replacing /lib/modules from the Mdrjr-build-site (http://builder.mdrjr.net/)

I used kernel 3.0, I'm not sure if kernel 3.8 will work for X2 with this image, can anyone confirm it does work?

Actually I did not change the uinitrd but that didn't show any problems in my case. After writing the Zimage and the modules to my 16gb mmc, I booted and it didn't work from the start, I needed a reboot. After that it worked perfectly. ifconfig showes the eth0 and i can connect with it.
deivid wrote:What's the status of xbmc on this image?
I want to use my odroid (mainly) as an HTPC (xbmc + emulation)
Do you think this'd be the best image for that?
This is also what I tried, downloading and install XBMC worked fine (after resizing my mmc (did that using Gparted, no problems there as well)) but I could not start XBMC because XBMC needs a 24 color depth or something, When I tried to adjust /etc/X11/xorg.conf there was an extra comment saying the following

Code: Select all

## 24bit color depth can currently be used only after recompiling kernel with CONFIG_VIDEO_EXYNOS_24_FORCE=y
#       DefaultDepth 24
so XBMC cannot start because of this color depth, I tried to adjust the X11 config file anyway, but the image does not boot (just black screen trough HDMI) correctly after adjusting it. So I want this CONFIG_VIDEO_EXYNOS_24_FORCE be set to "y" in order to start XBMC
is this option set to "y" in Kernel 3.8.13.2 ? or do I have to compile it myself? or add a request in the other topic(http://forum.odroid.com/viewtopic.php?f=23&t=1516) for an adjustement of the defonfig?

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Tue Jun 18, 2013 7:31 am

The image does not support 3.8, nor it is tested with that. That's why it currently ships with 3.0.

I was concerned if there were network issues with 3.0, that's why I asked

nightboy
Posts: 35
Joined: Wed Mar 06, 2013 11:00 am
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by nightboy » Tue Jun 18, 2013 4:22 pm

I am having an issue with LAN.
I compiled & installed 3.0.82 kernel but eth0 is not working in all cases even before installing the 3.0.82 kernel.
RTNETLINK answers: Cannot assign requested address

Code: Select all

root@odroid-wheezy:~# dmesg | tail
[    5.921855] [smsc95xx_read_mac_addr] Mac address = 55:35:73:2A:FB:9A
[    5.971197]  [MAX98090] max98090_set_playback_speaker_headset(112)
[    5.971818]  max98090_set_record_path [706] param 0
[    5.978082]  [MAX98090] max98090_set_record_main_mic(163)
[    5.980074] smsc95xx 1-2.1.1:1.0: eth0: register 'smsc95xx' at usb-s5p-ehci-2.1.1, smsc95xx USB 2.0 Ethernet, 55:35:73:2a:fb:9a
[    5.980128] usbcore: registered new interface driver smsc95xx
[   10.235753]  [MAX98090] max98090_set_playback_speaker_headset(112)
[   69.175505]  [MAX98090] max98090_set_playback_speaker_headset(112)
[   69.176056]  max98090_set_record_path [706] param 0
[   69.182228]  [MAX98090] max98090_set_record_main_mic(163)

Code: Select all

auto lo
iface lo inet loopback

allow-hotplug eth0
auto eth0
iface eth0 inet dhcp

Code: Select all

root@odroid-wheezy:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 55:35:73:2a:fb:9a
          BROADCAST MULTICAST  MTU:1488  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
I tried using different commands to restart the connection like "ifdown eth0 && ifup eth0" but they did not work.
I could not figure out what is the cause ?

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by memeka » Tue Jun 18, 2013 5:58 pm

rm -rf /etc/udev/rules.d/70-persistent-net.rules

and reboot

see if this works :)

nightboy
Posts: 35
Joined: Wed Mar 06, 2013 11:00 am
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by nightboy » Wed Jun 19, 2013 4:11 am

nope it did not work.

RTNETLINK answers: Cannot assign requested address
Listening on LPF/eth0/55:35:73:2a:fb:9a
Sending on LPF/eth0/55:35:73:2a:fb:9a
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
send_packet: Network is down
receive_packet failed on eth0: Network is down

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Wed Jun 19, 2013 4:38 am

Sorry for the network problem - I didn't see it coming (it's random). Keep tuned for another release (actually more than one this time...)

P.S. I will publish instructions to update for those currently using 0.7.1 (or previous versions)
Last edited by neagix on Wed Jun 19, 2013 1:30 pm, edited 1 time in total.

nightboy
Posts: 35
Joined: Wed Mar 06, 2013 11:00 am
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by nightboy » Wed Jun 19, 2013 5:32 am

I see.
I got "corruption" messages when I tried to resize the main partition(e2fsck , resize2fs).
this could be the main reason for my eth0 problem.

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Wed Jun 19, 2013 6:48 am

Update: try removing /etc/smsc95xx_mac_addr and rebooting

@nightboy: I don't think that's related :)
Last edited by neagix on Wed Jun 19, 2013 1:31 pm, edited 1 time in total.

nightboy
Posts: 35
Joined: Wed Mar 06, 2013 11:00 am
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by nightboy » Wed Jun 19, 2013 7:12 am

finally, it works!
I am using 0.7 version since you installed idesk on 0.71.
but i got the error messages when I tied to resize p2

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Wed Jun 19, 2013 7:19 am

Yes, it's just the randomly generated MAC address that sometimes it's not valid - thus eth0 doesn't come up! :( what a horrible bug to troubleshoot!

So for now please remove /etc/smsc95xx_mac_addr if you have a running system, or copy /root/rc.local.1 to /etc/rc.local after flashing

I am going to release 0.7.2 with this fix
Last edited by neagix on Wed Jun 19, 2013 1:31 pm, edited 1 time in total.

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Wed Jun 19, 2013 8:23 am

Quick news: I have also uploaded a base image, odroid-wheezy-base-0.1.0.img.xz, that is really the bare minimum. Tomorrow I'll make proper news about this.

It's very simple: the basic root filesystem + mdrjr's kernel 3.0 (without initramfs and with mali embedded) + ssh + configured login on UART (it would be disabled by default). So not even Xorg there, ideal for servers or to build your own custom Debian.
I'll also provide scripts to auto-update to 3.8 and to latest.

Enjoy it :)

P.S. network works both with 3.0 and 3.8 (verified), so it was just that cursed auto-generated /etc/smsc95xx_mac_addr

deivid
Posts: 64
Joined: Wed Jun 05, 2013 11:34 pm
languages_spoken: english, spanish
ODROIDs: U2
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by deivid » Wed Jun 19, 2013 10:39 am

seems that upgrading to jessie is currently broken, is this because your image has some broken packages or is the current jessie armhf repo broken?
cheers

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Wed Jun 19, 2013 1:29 pm

deivid wrote:seems that upgrading to jessie is currently broken, is this because your image has some broken packages or is the current jessie armhf repo broken?
cheers
The image has no broken packages, I don't know about jessie but if you want to use an unstable version you should know what you are doing :geek:

nightboy
Posts: 35
Joined: Wed Mar 06, 2013 11:00 am
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by nightboy » Thu Jun 20, 2013 3:38 am

btw, have you tried using HDMI in 24 bit mode ?
I tried to do it but no use
Fatal server error:
no screens found

Code: Select all

[    50.383] (EE) module ABI major version (11) doesn't match the server's version (12)
[    50.383] (II) UnloadModule: "mali"
[    50.383] (II) Unloading mali
[    50.383] (EE) Failed to load module "mali" (module requirement mismatch, 0)
[    50.383] (EE) No drivers available.
I compiled and installed the kernel after setting "CONFIG_VIDEO_EXYNOS_24_FORCE=y" & "DefaultDepth 24" and installed mali400 driver including xf86-video-mali.
but no use.

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Thu Jun 20, 2013 3:48 am

nightboy wrote:btw, have you tried using HDMI in 24 bit mode ?
I tried to do it but no use
Fatal server error:
no screens found

Code: Select all

[    50.383] (EE) module ABI major version (11) doesn't match the server's version (12)
[    50.383] (II) UnloadModule: "mali"
[    50.383] (II) Unloading mali
[    50.383] (EE) Failed to load module "mali" (module requirement mismatch, 0)
[    50.383] (EE) No drivers available.
I compiled and installed the kernel after setting "CONFIG_VIDEO_EXYNOS_24_FORCE=y" & "DefaultDepth 24" and installed mali400 driver including xf86-video-mali.
but no use.
Again: this image is for 3.0! :D

You have to change /dev/fb6 to /dev/fb1 in xorg.conf when using kernel 3.8
Last edited by neagix on Thu Jun 20, 2013 3:11 pm, edited 1 time in total.

nightboy
Posts: 35
Joined: Wed Mar 06, 2013 11:00 am
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by nightboy » Thu Jun 20, 2013 4:22 am

:D I am using 3.0.8 kernel not 3.8

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Thu Jun 20, 2013 5:03 am

nightboy wrote::D I am using 3.0.8 kernel not 3.8
But you're using a custom kernel, check that! :P
Last edited by neagix on Fri Jun 21, 2013 3:15 pm, edited 1 time in total.

nightboy
Posts: 35
Joined: Wed Mar 06, 2013 11:00 am
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by nightboy » Thu Jun 20, 2013 5:16 am

I did not get it!!
What are the differences between the out of box kernel :mrgreen: and a custom kernel with a simple modification --> "CONFIG_VIDEO_EXYNOS_24_FORCE=y" .
how could it be possible to get 24bit colors' screen without this modification?

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Thu Jun 20, 2013 3:21 pm

nightboy wrote:I did not get it!!
What are the differences between the out of box kernel :mrgreen: and a custom kernel with a simple modification --> "CONFIG_VIDEO_EXYNOS_24_FORCE=y" .
how could it be possible to get 24bit colors' screen without this modification?
Any "simple" change to the kernel can break it. The kernel is not the only modification you made. You said you installed xf86-video-mali and the mali driver: why?

If you read the original post in this thread you will read that in the minimal Debian Wheezy image those two are already included. This image is 100% for customization, however if you screw up the very few things that led me to make this image (notably getting hardware acceleration to work out-of-the-box with X11), then where do we stand? :D
I mean, if you want to change even those you should know what you're doing, they can be tricky to get working - you can read one of my posts to see how I did it.

Regarding forcing 24bit output: you would better using mdrjr's update scripts and get his 3.0 that has everything useful enabled, but again I know that it works with the provided X11 video driver and mali drivers. In your case it's probably the X11 drivers the non-compatible part (but not sure, just guessing)

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Sat Jun 22, 2013 10:37 pm

I have added the eduke32 binary (see related post) in release 0.7.3 (now uploading)

You can just copy the binary in your existing image (to /home/emuser/bin/)

Enjoy! :)

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation

Unread post by neagix » Sun Jun 23, 2013 6:20 pm

I've made another double release, retro 0.7.4 and base 0.2.0, where I've added support for Hardkernel's kernel upgrade scripts and fixed the annoying network issue once for all (thanks to mdrjr for the tip)

The solution was to reload the dreaded module smsc95xx on first boot

Enjoy! :)

thePCisDead
Posts: 44
Joined: Sat Jun 15, 2013 8:16 am
languages_spoken: english
ODROIDs: waiting for my Odroid-U2 to arrive
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation (Retro&B

Unread post by thePCisDead » Wed Jun 26, 2013 4:17 am

Hey neagix, so I spent some time playing with robroyhall's fully loaded 13.04 dream machine. He's definitely put together a nice, easy to use image. However, I normally run Lubuntu or LXDE and typically remove a lot of apps I don't need. Recently this has gotten me interested in lighter distros which brought me to your minimal Debian Wheezy.

I installed your image yesterday and have been messing around since. It's a great, light and fast little image - thanks for putting it together! It may be too light for me though. I'm not the most knowledgeable linux user...I probably have a low-intermediate ability. Anyway, I managed to update the repositories, install LXDE and a few other things last night. Today I'm trying to get flash and videos (with all the codecs) working. I haven't tested audio. I've also noticed you did not install multiarch support.

A minimal Debian Wheezy + LXDE image together that already has video, audio, codecs, multiarch, etc. working out of the box would be ideal for me ;) I need to figure out whether I continue to try to build up my perfect set up from your Wheezy or to pare back the fully loaded dream machine. Thanks again for your work!

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation (Retro&B

Unread post by neagix » Wed Jun 26, 2013 5:47 am

@thePCisdead

I'm glad you liked it! Yes it's very basic, but that's because I think it's easy enough to install all that is necessary and customize it second your tastes.

I didn't yet try getting flash working, and I have had scarce success with audio - although I think it's definitively doable.

Regarding an "enriched" Debian image: there's something in the plans already...maybe you want to wait a few days? As far as I know it should be ready by now, need to check with a friend! :)

thePCisDead
Posts: 44
Joined: Sat Jun 15, 2013 8:16 am
languages_spoken: english
ODROIDs: waiting for my Odroid-U2 to arrive
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation (Retro&B

Unread post by thePCisDead » Thu Jun 27, 2013 2:17 am

neagix wrote:Regarding an "enriched" Debian image: there's something in the plans already...maybe you want to wait a few days? As far as I know it should be ready by now, need to check with a friend! :)
I'm a patient guy. I'll be happy to wait ;) I realised after I placed my order for the U2 that I should have bought 2 or 3 16gb emmc drives instead of 1 so I could work with a few images at once and just swap them out quickly. Live and learn.

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation (Retro&B

Unread post by neagix » Thu Jun 27, 2013 4:33 am

The project has won the monthly award! Cheers! :) My blog post about it and the donation to RetroArch project

mdrjr has just released official Debian images with LXDE, based on this, check it out: http://forum.odroid.com/viewtopic.php?f ... 08&p=11518

@thePCisdead: your patience has been rewarded :)

thePCisDead
Posts: 44
Joined: Sat Jun 15, 2013 8:16 am
languages_spoken: english
ODROIDs: waiting for my Odroid-U2 to arrive
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation (Retro&B

Unread post by thePCisDead » Thu Jun 27, 2013 4:42 am

neagix wrote:@thePCisdead: your patience has been rewarded :)
The turn around time on this site is crazy. It's like we have our own 24 hr around the clock private development team. All time zones are covered!

I'm downloading it now..... :D


YamashitaRen
Posts: 49
Joined: Sun Jul 07, 2013 6:55 pm
languages_spoken: Français, English
ODROIDs: Odroid-U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation (Retro&B

Unread post by YamashitaRen » Thu Jul 11, 2013 8:30 pm

Hello neagix.
Thank you for your debian flavor, I'm currently using odroid-wheezy-retro 0.0.6. I love your work !

However, I have a BIG problem.
When I reboot the Odroid, the network can't work again. So i have to reboot it 2,3 more times until I can ssh it.
It seems that the problem is the same when I reboot my router. Since it reboot (or down/up) himself without good reasons, it's worse.

Is it the problem fixed in 0.7.2 ?
Changelog wrote:0.7.2

disabled /etc/smsc95xx_mac_addr creation (causes network down issue with some values)
now using EXT4 without journal instead of EXT2
I tried to rm /etc/smsc95xx_mac_addr myself but it is generated again at each boot.
The ECDSA key is changing at each boot too :

Code: Select all

[quentin@VaioLaptop ~]$ ssh odroid@192.168.0.15
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
9c:bf:dd:16:73:51:5c:b9:0d:77:34:f3:6b:bf:c4:19.
Please contact your system administrator.
Add correct host key in /home/quentin/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/quentin/.ssh/known_hosts:1
ECDSA host key for 192.168.0.15 has changed and you have requested strict checking.
Host key verification failed.
If I remember correctly, this behavior was present in osterluk's debian too but not in Arch ARM ...
Do you have an idea on how I can fix it ?

ps : Is it possible to use the Hardkernel upgrade script with 0.0.6 or do I have to install a >=0.7.4 release ?

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation (Retro&B

Unread post by neagix » Fri Jul 12, 2013 2:17 am

YamashitaRen wrote:Hello neagix.
Thank you for your debian flavor, I'm currently using odroid-wheezy-retro 0.0.6. I love your work !

However, I have a BIG problem.
When I reboot the Odroid, the network can't work again. So i have to reboot it 2,3 more times until I can ssh it.
It seems that the problem is the same when I reboot my router. Since it reboot (or down/up) himself without good reasons, it's worse.

Is it the problem fixed in 0.7.2 ?
Changelog wrote:0.7.2

disabled /etc/smsc95xx_mac_addr creation (causes network down issue with some values)
now using EXT4 without journal instead of EXT2
I tried to rm /etc/smsc95xx_mac_addr myself but it is generated again at each boot.
The ECDSA key is changing at each boot too :

Code: Select all

Host key verification failed.
If I remember correctly, this behavior was present in osterluk's debian too but not in Arch ARM ...
Do you have an idea on how I can fix it ?

ps : Is it possible to use the Hardkernel upgrade script with 0.0.6 or do I have to install a >=0.7.4 release ?
The upgrade script works only with recent releases, it's documented in Changelog the first one that supports it.

Regarding your other two issues, I advise to pack your /home directory, modified /etc configuration files and dpkg selections, and then move to a new one.

This is not only because of the two issues you mentioned, but because of all the other improvements that you are missing otherwise - and I can only support issues in the most recent one since it's changing at quite a fast pace.

The problem when using a pre-0.8.0 is that upgrading the xorg packages will make it break, thus I advise to use the new one. I haven't done any tooling to help with the upgrade operation because I expect everybody to use quite simple configurations and to run backups regularly due to the unreliable nature of the SD supports

User avatar
neagix
Posts: 271
Joined: Sun Apr 14, 2013 2:54 am
languages_spoken: english
ODROIDs: U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal Debian Wheezy for Development&Emulation (Retro&B

Unread post by neagix » Fri Jul 12, 2013 2:22 am

YamashitaRen wrote:I tried to rm /etc/smsc95xx_mac_addr myself but it is generated again at each boot.
The point is that you shouldn't remove that, that's why you get those errors. Also please, upgrade to latest version of the image because it's the only one supported (it might be the right time to make backup planning as well)

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests