FatdogArm Beta1/2/3/4- 16 April 2016

A home for all kinds of Puppy related projects
Post Reply
Message
Author
mories
Posts: 70
Joined: Mon 21 Dec 2009, 12:51

rc.platform for Odroid-U3 and firmware s5p-mfc

#91 Post by mories »

Thanks for the update.

rc.platform must be adequate to the value of the item Hardware in /proc/cpuinfo, that in the new kernel is "ODROID-U2/U3" (at least in my U3).

Also think the firmware s5p-mfc it's missing.

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#92 Post by Ted Dog »

jamesbond wrote:
Ted Dog wrote:Is the mele a1000 still supported?
Yes. I upload hostapd to the repo too, but I think the built-in wifi in Mele can't work with it.
I re-uploaded the image with the latest bash patch (patchlevel 51, build 4).

great thanks. Yes wifi on mele is noted for being poor it only has to go 12 feet inside a pull behind caravan :wink:

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

Re: rc.platform for Odroid-U3 and firmware s5p-mfc

#93 Post by jamesbond »

mories wrote:Thanks for the update.

rc.platform must be adequate to the value of the item Hardware in /proc/cpuinfo, that in the new kernel is "ODROID-U2/U3" (at least in my U3).

Also think the firmware s5p-mfc it's missing.
Thanks mories, both the kernel package and the sfs is re-uploaded to address both problems.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

mories
Posts: 70
Joined: Mon 21 Dec 2009, 12:51

gst2-plugins-base-odroid-1.4.3

#94 Post by mories »

This package "gst2-plugins-base-odroid-1.4.3" has disappeared from the repository.
Can be replaced by "gst2-plugins-base-1.4.3" in ODROID?

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

Re: gst2-plugins-base-odroid-1.4.3

#95 Post by jamesbond »

mories wrote:This package "gst2-plugins-base-odroid-1.4.3" has disappeared from the repository.
Can be replaced by "gst2-plugins-base-1.4.3" in ODROID?
Yes. The "base-odroid" version was patched so that playbin and gst-play use "v4l2video10convert" (Odroid's hardware accelerated format converter) by default - but it doesn't always work well (I've got colour artifacts when testing it) - so I have removed it. The normal "base" one is unpatched and will use "videoconvert" which is software, but works better and doesn't seem to make a lot of difference (at least on 720p). If you still want to use v4l2video10convert, you can do so on your own pipeline (not using playbin or gst-play), and it works.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#96 Post by eowens2 »

In trying to copy a file, using Right Click => Copy, I somehow created a shortcut icon to the original file on the desktop.

.If I try to delete the shortcut icon with Right Click => Send to Trash, the dialogue box informs me that both shortcut and original file will be deleted.

How can I get rid of just the desktop shortcut, leaving the original file intact?

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#97 Post by Mercedes350se »

Convoluted but should work.

Copy the file but under a different name.
Delete the desktop icon and presumably your original file.
Rename the copied file back to correct name.

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#98 Post by eowens2 »

Mercedes350se said:
Copy the file but under a different name.
Delete the desktop icon and presumably your original file.
Rename the copied file back to correct name.
Thanks Mercedes. Worked well. I thought there was a tool somewhere to work directly with shortcuts and icons, and I just couldn't find it.

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#99 Post by eowens2 »

jamesbond,

I have been reading about BootMenu on your blog.

Would it be possible to use this technique to boot from a small microSD (Odroid u3) and to be able to choose which OS to boot from among several which physically reside on an external USB drive?

If I understood your blog correctly, BootMenu needs to be included in the initramfs, where it is executed as PID 1. Are there any tools in FatdogArm Beta2 to edit the initramfs? Or does passing "rdinit=/sbin/bootmenu" as a kernel command enable that inclusion without having to directly edit initramfs?

Any links to more information?

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#100 Post by jamesbond »

eowens2 wrote:Would it be possible to use this technique to boot from a small microSD (Odroid u3) and to be able to choose which OS to boot from among several which physically reside on an external USB drive?
In theory, yes. In practice, it really depends on the kernel and the hardware. The Odroid kernel for beta2 is properly configured, but I haven't tried that for a long time now. I remember it worked with A10 (mele) and didn't work with A20 (cubieboard2) - even when properly configured. That kind of sunk my spirit. I can't recall whether I tested that on Odroid.
If I understood your blog correctly, BootMenu needs to be included in the initramfs, where it is executed as PID 1. Are there any tools in FatdogArm Beta2 to edit the initramfs? Or does passing "rdinit=/sbin/bootmenu" as a kernel command enable that inclusion without having to directly edit initramfs?
Ah yes, this is a bit tricky. Editing initramfs - the short answer is no. The long answer is, you need to convert uInitrd to standard initrd, then open it using Rox, then re-pack it (script provided when you open it), and convert it back to uInitrd. You will see the details in "Adopting FatdogArm" wiki entry; but you may not have "mkimage" tool; I can pass you that tool if needed.

That being said, bootmenu is *already* in recent releases, so you're right, all you need to do is to pass "extra=rdinit=/sbin/bootmenu" and create a proper configuration file on the first partition.
Any links to more information?
No, the wiki entry is all that is. But you can ask me for anything you need.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#101 Post by eowens2 »

So if you give the odroid kernel the boot parameter "extra=rdinit=/sbin/bootmenu" you do not need to edit the initramfs, is that correct?

I do not see the mkimage tool in the repo. Think you might be able to add it? Also did you say the you were going to add pfind?

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#102 Post by jamesbond »

eowens2 wrote:So if you give the odroid kernel the boot parameter "extra=rdinit=/sbin/bootmenu" you do not need to edit the initramfs, is that correct?
Correct.
I do not see the mkimage tool in the repo.
I just uploaded. It is here: http://distro.ibiblio.org/fatdog/arm/tools/. They are statically linked and will run on *all* distro, 32/64-bit and ARM.
Also did you say the you were going to add pfind?
Yes, just uploaded as well, as well as a bunch of other puppy apps. But I haven't tested any of them.

EDIT: Some of them may not work because the utilities do not exist (not yet compiled for ARM).
EDIT: I also uploaded the latest palemoon browser (25.0.1) and recent firefox (32.0).
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#103 Post by eowens2 »

I have been working on using bootmenu, trying to boot FatdogArm beta2 from an external HD to start with (and so far not much luck!).

I am confused as to what info goes in to uEnv.txt vs. bootmenu (are both active in the boot process and on the same partition?), because they seem to have several duplicate fields. Do you comment out the kernel and initrd fields in uEnv.txt, and put the info in the same fields in bootmanager? Duplicate video fields?

Then there are some parameters in the sample bootmenu.cfg file:

Code: Select all

hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 panic=10 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=8
Are these parameters unique to the Mele A1000, or do they apply to the Odroid U3 as well?

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#104 Post by jamesbond »

eowens2 wrote:I have been working on using bootmenu, trying to boot FatdogArm beta2 from an external HD to start with (and so far not much luck!).
Hmm, what exactly do you want to do? I mean, what is in this external HD - a complete OS (perhaps ubuntu) or just for data storage? I never tried this but it should be do-able.
I am confused as to what info goes in to uEnv.txt vs. bootmenu (are both active in the boot process and on the same partition?), because they seem to have several duplicate fields.

Do you comment out the kernel and initrd fields in uEnv.txt, and put the info in the same fields in bootmanager? Duplicate video fields?
Ok, it's quite confusing. The concept of bootmenu is to use Linux kernel as a bootloader. A normal boot looks like this:
--> bootloader --> kernel #1 --> operation.

With bootmenu, it looks like this:
--> bootloader --> kernel #1 --> bootmenu --> kernel #2

(kernel #1 and kernel #2 can be identical but process-wise, they are different because for kernel #2 to run, kernel #1 must be unloaded - you can't run two kernels at once).

uEnv.txt is used by bootloader to load kernel #1.
bootmenu.cfg is used by bootmenu to load kernel #2.

So you need both for bootmenu to work correctly. If your uEnv.txt is wrong the bootloader can't load kernel #1 and you won't even see the bootmenu.

So yes, there are some duplicate fields in uEnv.txt and bootmenu.cfg.
Then there are some parameters in the sample bootmenu.cfg file:

Code: Select all

hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 panic=10 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=8
Are these parameters unique to the Mele A1000, or do they apply to the Odroid U3 as well?
This is definitely for Mele, not for Odroid. You will need to put the correct parameters into bootmenu. The best way to find out which parameter to put in, is to boot Odroid *without* bootmenu, then do "cat /proc/cmdline" and copy over the output for use in bootmenu.cfg, changing them as necessary.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#105 Post by eowens2 »

jamesbond,

I am still working to get bootmenu up and running, using an old 160GB tower HD for which I found an enclosure.

When I got my Odroid U3, I also got their Ubuntu and Android. It is somewhat of a hassel to move the microchip in and out to change to a different OS, so my goal is to give FatdogArm, Ubuntu and Android each it’s own partition, and to select which to boot from the single microchip at boot time.

So far, I can get to the bootmanager page, so I guess uEnv.txt is O.K., but the boot from the external USB drive fails with “unable to load kernel for selected entity

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#106 Post by Mercedes350se »

@eowens2

Have you looked at the ODROID U3 forum?

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#107 Post by eowens2 »

Mercedes350se said:
Have you looked at the ODROID U3 forum?
No. I knew that Odroid/U3 had a magazine (I have read some of the articles) but did not know about the forums.

After googling for the forum and perusing it for an hour or so, I note some interesting relevent material.

Thank for making me aware.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#108 Post by jamesbond »

When I got my Odroid U3, I also got their Ubuntu and Android. It is somewhat of a hassel to move the microchip in and out to change to a different OS, so my goal is to give FatdogArm, Ubuntu and Android each it’s own partition, and to select which to boot from the single microchip at boot time.
That's what bootmenu is for, but I regret to say that it current *does not* work. I've just re-tested it again - it crashes the kernel, it can't even re-load itself (http://forum.xda-developers.com/showthr ... ?t=2558903 - exynos 4412 can't disable MMU).

There were one or two questions about kexec on Odroid forum but there is no answer.

I'm currently looking at some work by Tassadar about kexec-hardboot and it *might* be applicable to Odroid kernel - but don't count on it.

The rest of the questions are irrelevant but I'll answer them anyway for completeness.
So far, I can get to the bootmanager page, so I guess uEnv.txt is O.K., but the boot from the external USB drive fails with “unable to load kernel for selected entity
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#109 Post by eowens2 »

jamesbond,

Thank you for a very informative, detailed response regarding Bootmenu. There is a lot of info there (and in the links to xda-developers), and it is going to be a while before all of this sinks into my brain!

[quote]Quote:
While I can get to the Bootmenu page, the ESC, Tab, “E

eowens2
Posts: 177
Joined: Wed 27 Aug 2008, 17:57

#110 Post by eowens2 »

jamesbond,

You posted a new kernel for the odroid/u2-u3 on 17 Sep 2014.

Looking through the kernel sources on ibiblio.org and it's mirrors, the latest source I can find is for 09 Mar 2014.

Could you point me in the direction of the source for the kernel dated 17 Sep 2014?

Thank you.

Post Reply