Porteus for UEFI PC

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
neko
Contributor
Contributor
Posts: 862
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus for UEFI PC

Post#16 by neko » 05 Sep 2014, 11:21

@fanthom
I have gotten 'grub-2.00-x86_64-2' package and am studying on 'grub-mkimage'.
Thank you for your kindness.

"which option in the config enables booting from eMMC cards?"

This is my process.
1. Lubuntu 64bit 14.04 was installed in the ECS LIVA that is UEFI PC and has eMMC storage.
The LUBUNTU boot environment (grub) is used.
installed partition: UUID=55433d1c-8683-445e-b3be-164ac8c67d76

2. Set Porteus-LXDE-v3.0.1-i486-EFI.iso in
UUID=55433d1c-8683-445e-b3be-164ac8c67d76
PATHE=/live/porteus/3.0.1/

3. grub entry of custom.cfg
The partition that was installed LUBUNTU has the file /boot/grub/custom.cfg
which is included in /boot/grub/grub.cfg

#==========================================
menuentry "Porteus-LXDE-v3.0.1-i486-EFI.iso" {
set PRT="55433d1c-8683-445e-b3be-164ac8c67d76"
search --no-floppy --fs-uuid --set=root ${PRT}
set ISO="/live/porteus/3.0.1/Porteus-LXDE-v3.0.1-i486-EFI.iso"
loopback loop $ISO
linux (loop)/boot/syslinux/vmlinuz from=UUID:$PRT$ISO
initrd (loop)/boot/syslinux/initrd.xz
}
#==========================================

4. Porteus-LXDE-v3.0.1-i486-EFI.iso
Porteus-LXDE-v3.0.1-i486-EFI.iso was created from Porteus-LXDE-v3.0.1-i486.iso
with tool kits EFIKernel.3.0.1.tgz.

5. Configure of build kernel was set to include eMMC driver.
[32bit config line:4083-4116]
==========================================================
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
# CONFIG_MMC_CLKGATE is not set

#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
CONFIG_SDIO_UART=m
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PCI=m
CONFIG_MMC_RICOH_MMC=y
CONFIG_MMC_SDHCI_ACPI=y
CONFIG_MMC_SDHCI_PLTFM=m
CONFIG_MMC_SDHCI_PXAV3=m
CONFIG_MMC_SDHCI_PXAV2=m
CONFIG_MMC_WBSD=m
CONFIG_MMC_TIFM_SD=m
CONFIG_MMC_SDRICOH_CS=m
CONFIG_MMC_CB710=m
CONFIG_MMC_VIA_SDMMC=m
CONFIG_MMC_VUB300=m
CONFIG_MMC_USHC=m
CONFIG_MMC_REALTEK_PCI=m
CONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set
==========================================================

[64bit config line:3939-3972]
==========================================================
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
# CONFIG_MMC_CLKGATE is not set

#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
CONFIG_SDIO_UART=m
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PCI=m
CONFIG_MMC_RICOH_MMC=y
CONFIG_MMC_SDHCI_ACPI=y
CONFIG_MMC_SDHCI_PLTFM=m
CONFIG_MMC_SDHCI_PXAV3=m
CONFIG_MMC_SDHCI_PXAV2=m
CONFIG_MMC_WBSD=m
CONFIG_MMC_TIFM_SD=m
CONFIG_MMC_SDRICOH_CS=m
CONFIG_MMC_CB710=m
CONFIG_MMC_VIA_SDMMC=m
CONFIG_MMC_VUB300=m
CONFIG_MMC_USHC=m
CONFIG_MMC_REALTEK_PCI=m
CONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set
==========================================================

Thanks.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus for UEFI PC

Post#17 by brokenman » 07 Sep 2014, 21:55

I've uploaded a video (watch in fullscreen HD) to show how to create a Porteus-v3.0.1 UEFI USB from within Porteus-v3.0.1. Hope it helps someone.

https://www.youtube.com/watch?v=Q_AXMoa ... tu.be?hd=1
How do i become super user?
Wear your underpants on the outside and put on a cape.

neko
Contributor
Contributor
Posts: 862
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus for UEFI PC

Post#18 by neko » 17 Dec 2014, 14:01

@jbowers

There are 2 kernel version in V3.1 Porteus.
2014.12.09 released version is the Linux/x86 3.17.0 Kernel.
2014.12.16 released version is the Linux/x86 3.17.4 Kernel.
These original kernels can not be booted from ECS LIVA PC.

Both 32 bit and 64 bit of the Linux/x86 3.17.4 Kernel were tuned up to enable eMMC boot.
You could get 'vmlinuz and 000-kernel.xzm' from Porteus-FVWM-v3.1-i486-3.iso/Porteus-FVWM-v3.1-x86_64-3.iso.

Please refer
viewtopic.php?f=75&t=2966&start=15#p29994

Thanks.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4546
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteus for UEFI PC

Post#19 by fanthom » 17 Dec 2014, 15:18

3.17.0 kernel was our mistake, second one had not EFI stub compiled and this was corrected over last weekend.
please download the ISO once again and your Liva PC should be working with stock Porteus :)
Please add [Solved] to your thread title if the solution was found.

neko
Contributor
Contributor
Posts: 862
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus for UEFI PC

Post#20 by neko » 18 Dec 2014, 02:15

@fanthom

Porteus-XFCE-v3.1-i486.iso (size=177293312, md5sum=c613ea3e16a149b7ceecb74399ecfc93)
and
Porteus-XFCE-v3.1-x86_64.iso (size=183595008, md5sum=307361f6383b74a83da4a8f4faa6e175)
,which are named "2014.12.16 released version" by me,
could not be booted on ECS LIVA PC.

Now current version on Porteus site,
http://dl.porteus.org/i486/current/
http://dl.porteus.org/x86_64/current/,
there are same ones.

Thanks.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4546
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteus for UEFI PC

Post#21 by fanthom » 18 Dec 2014, 21:46

dunno - maybe Liva is special but latest Porteus ISO spin boots here in Vbox (to text mode only) when EFI is enabled.
Please add [Solved] to your thread title if the solution was found.

neko
Contributor
Contributor
Posts: 862
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus for UEFI PC

Post#22 by neko » 19 Dec 2014, 03:16

@fanthom
wrote "maybe Liva is special".

I think so too.
Therefore, to LIVA user's @jbowers,
I posted the '17 Dec 2014 15:01' article
viewtopic.php?f=75&t=3486&start=15#p29997

ECS says that UBUNTU 14.04 (64 bit) is available for LIVA PC.
I checked the UBUNTU's kernel configuration about eMMC.
Then I turned up Porteus kernel.
New configuration files:
http://www.mediafire.com/download/5ph19 ... .12.16.tgz

Thanks

Post Reply