Debian 8 auf USB-Stick oder SD-Karte

Projektleiter: Mijzelf / Ariek2, diverse

The FFP-stick is an USB stick (or an external USB disk) which uses the advantages offered by usb_key_func.sh to install and start FFP on a ZyXEL NAS.

Many other projects / application
greenwitch
Posts: 1
Joined: Mon 18. Feb 2019, 15:25

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by greenwitch »

Hi,

Only first page was cached. Any info about other pages. I am searching for manual for kernel compilation.

Adam
User avatar
shv
Posts: 30
Joined: Sat 10. Nov 2018, 17:36

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by shv »

Hello,
if you have a Series 5 device you can try to activate Debian using Entware-ng.
https://github.com/Entware-for-kernel-3 ... nvironment
https://hqt.ro/how-to-install-debian-jessie-arm/

Regards.
shv
terratux
Posts: 5
Joined: Wed 6. Mar 2019, 13:54

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by terratux »

I followed the advise given here (http://www.techdudes.de/1930/zyxel-nas- ... vault-omv/) to install Debian Stretch to my NAS 542 device. (kernel 3.2.0-5 - seems a bit old)
It worked like a charm.

But, now I run into a problem:

initializing a volume with ext4 works well, but the resulting volume can't be mounted, because of the feature "metadata checksum" activated while initializing the volume.

I was able to disable the feature with:
tune2fs -O ^metadata_csum /dev/vg00/lv-xxxxxxx

I guess, it's a problem of the kernel (too old to support this feature)

when running apt-get update && apt-get upgrade I don't get a newer kernel.

apt-cache list linux-image brings up:
linux-image-4.9.0-8-armmp - Linux 4.9 for ARMv7 multiplatform compatible SoCs
....
linux-image-4.19.0-0.bpo.2-armmp - Linux 4.19 for ARMv7 multiplatform compatible SoCs
linux-image-4.19.0-0.bpo.2-armmp-dbg - Debug symbols for linux-image-4.19.0-0.bpo.2-armmp
linux-image-4.19.0-0.bpo.2-armmp-lpae - Linux 4.19 for ARMv7 multiplatform compatible SoCs supporting LPAE
linux-image-4.19.0-0.bpo.2-armmp-lpae-dbg - Debug symbols for linux-image-4.19.0-0.bpo.2-armmp-lpae
linux-image-4.19.0-0.bpo.2-rt-armmp - Linux 4.19 for ARMv7 multiplatform compatible SoCs, PREEMPT_RT
linux-image-4.19.0-0.bpo.2-rt-armmp-dbg - Debug symbols for linux-image-4.19.0-0.bpo.2-rt-armmp
linux-image-rt-armmp - Linux for ARMv7 multiplatform compatible SoCs (meta-package), PREEMPT_RT
linux-image-rt-armmp-dbg - Debugging symbols for Linux rt-armmp configuration (meta-package)
linux-image-3.2.0-5-nas5xx - Linux 3.2 for Zyxel NAS5XX
linux-headers-3.2.0-5-nas5xx - Header files for Linux 3.2.0-5-nas5xx
linux-image-armhf - Linux for Zyxel NAS5XX (meta-package)

a) So, apt-get knows newer kernel. Is any of these usable for my device?
b) how to install it properly. Simply installing the package doesn't seems be be sufficient

Or, do I have to compile it myself? How to do so?

Although, I very familiar with linux, I have low knowledge of the procedures Debian uses. And the question for installing the new kernel boot-safe remains.

Additional question: how to switch back to the currently running kernel in case of an error? is there a file similar to the menu.lst used by grub?
Mijzelf
Posts: 48
Joined: Wed 14. Nov 2018, 19:50

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by Mijzelf »

Unfortunately the SoC isn't supported by the vanilla kernel. Actually that 3.2 kernel is the only one available.
terratux
Posts: 5
Joined: Wed 6. Mar 2019, 13:54

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by terratux »

Mijzelf wrote:Unfortunately the SoC isn't supported by the vanilla kernel. Actually that 3.2 kernel is the only one available.
:o :(

But, what about this one?
https://github.com/qoriq-open-source/linux
Mijzelf
Posts: 48
Joined: Wed 14. Nov 2018, 19:50

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by Mijzelf »

Why do you think that kernel supports the Mindspeed Comcerto 2000 SoC?
terratux
Posts: 5
Joined: Wed 6. Mar 2019, 13:54

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by terratux »

Because it‘s patched by the manufacturer of the SoC ( at least that’s what I understood) An I wrong?
Mijzelf
Posts: 48
Joined: Wed 14. Nov 2018, 19:50

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by Mijzelf »

terratux wrote:An I wrong?
Don't know. The page says 'No description, website, or topics provided.', so I have to guess what it is. It's clearly a set of patches on the Linux source tree, but I see no trace of Mindspeed, Comcerto or Freescale in the /arch/arm tree. So given that page alone I don't think it gives Comcerto support.
terratux
Posts: 5
Joined: Wed 6. Mar 2019, 13:54

Re: Debian 8 auf USB-Stick oder SD-Karte

Post by terratux »

I found that page while following some notes on this page http://l.unchti.me/2016/02/12/debian-nas540.html

While googling for "QorIQ LS1024A SoC" I came to

https://community.nxp.com/thread/381240 where I got the hints for the page mentioned above.
Post Reply