Welcome! Log In Create A New Profile

Advanced

Debian on TBS2921 MOI+

Posted by ri8 
ri8
Re: tbs2921/moi+
November 11, 2024 02:43AM
bodhi,

test positive;
I'm very happy, of course!
it's not much i would do with
on board wifi; but, for the sake
of completeness (and - curiosity
kills a cat;-) - and knowing nothing
about u-boot - what would you say?

Regards,
alex
Attachments:
open | download - kirkwood_uboot_build_10Nov.log (31.3 KB)
Re: tbs2921/moi+
November 11, 2024 01:01PM
Alex,

> it's not much i would do with
> on board wifi; but, for the sake
> of completeness (and - curiosity
> kills a cat;-) - and knowing nothing
> about u-boot - what would you say?

Yes, the log looks good! Did you turn off wlan in Debian? I did not see it was initialized in the log.

It turn out that the current mainline u-boot does not have support for this chip Realtek RTL8188 EUS (it does have support for a couple of different chip: RTL8139 and RTL8169). So Wifi won't work during u-boot running.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
ri8
Re: Debian on TBS2921 MOI+
November 13, 2024 03:08AM
bodhi,

i see, i have to compile myself for that onboard RTL8188EUS -WIFI
with 6.5.7 kernel headers in place
/usr/lib/modules/6.5.7-kirkwood-tld-1/build

and sources from:
git clone https://github.com/aircrack-ng/rtl8188eus v5.3.9

compiling succeeded with ARCH=arm and CROSS_COMPILE='''
but insmod fails(log attached)

Regards,
alex
Attachments:
open | download - kirkwood_rtl8188eus_compile_log.txt (8.4 KB)
ri8
Re: Debian on TBS2921 MOI+
November 13, 2024 03:18AM
bodhi,

also dmesg log attached after insmod:
# lsmod
Module Size Used by
orion_wdt 12288 0
sg 28672 0
marvell_cesa 36864 0
kirkwood_thermal 12288 0
fixed 16384 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq

Regards,
alex
Attachments:
open | download - kirkwood_rtl8188eus_dmesg_log.txt (4.1 KB)
ri8
Re: Debian on TBS2921 MOI+
November 13, 2024 03:22AM
and file:
moi+/rtl8188eus_2/v5.3.9# file ./8188eu.ko
./8188eu.ko: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV), BuildID[sha1]=43e3f211f5af6fd37baec02c25e66fa7039ed447, not stripped

Regards,
alex
ri8
Re: Debian on TBS2921 MOI+
November 13, 2024 03:44AM
bodhi,

now, after insmod cfg80211
and then insmod 8188eu.ko

lsmod:

Module Size Used by
8188eu 1134592 0
cfg80211 851968 1 8188eu
rfkill 28672 1 cfg80211
orion_wdt 12288 0
sg 28672 0
marvell_cesa 36864 0
kirkwood_thermal 12288 0
fixed 16384 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq

dmesg:

2756.845487] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2756.903419] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2756.912829] cfg80211: failed to load regulatory.db
[ 2792.466494] usbcore: registered new interface driver 8188eu

ip link:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 2e:62:fc:ea:e3:67 brd ff:ff:ff:ff:ff:ff





Regards,
alex
ri8
Re: Debian on TBS2921 MOI+
November 13, 2024 04:27AM
bodhi,

root@debian:~# binwalk moiplus_nanddump.dump

DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
315456 0x4D040 CRC32 polynomial table, little endian
316480 0x4D440 CRC32 polynomial table, little endian
361477 0x58405 LZO compressed data
506824 0x7BBC8 Flattened device tree, size: 14280 bytes, version: 17

Now, having that nanddump
bash-5.1$ ls -l kwboot_unpack/
total 1936
-rw-r--r-- 1 riacht users 7319 Oct 30 22:50 kwboot-tool.tar.gz
-rw-r--r-- 1 riacht users 2653 Mar 15 2022 uboot.2022.04-tld-1.m300.environment
-rw-r----- 1 riacht users 4096 Mar 15 2022 uboot.2022.04-tld-1.m300.environment.4K.img
-rw-r--r-- 1 riacht users 393216 Mar 21 2022 uboot.2022.04-tld-1.m300.mtd0.kwb
-rw-r--r-- 1 riacht users 524288 Nov 11 08:25 uboot.2024.10-tld-1.moi_plus_10Nov.kwb
-rw-r--r-- 1 riacht users 524288 Nov 6 08:31 uboot.2025.01-rc1-tld-1.moi_plus.kwb
-rw-r--r-- 1 riacht users 524288 Nov 7 12:54 uboot.2025.01-rc1-tld-1.moi_plus_Nov_4.kwb

i'd like also install u-boot;
would it be correct to do:

/usr/sbin/flash_erase /dev/mtd0 0xc0000 1

/usr/sbin/nandwrite -s 522 488 /dev/mtd0 uboot.2024.10-tld-1.moi_plus_10Nov.kwb
Re: Debian on TBS2921 MOI+
November 13, 2024 12:56PM
Alex,

> i'd like also install u-boot;
> would it be correct to do:
>
> /usr/sbin/flash_erase /dev/mtd0 0xc0000 1
>
> /usr/sbin/nandwrite -s 522 488 /dev/mtd0
> uboot.2024.10-tld-1.moi_plus_10Nov.kwb

No, not like that.

I'm writing the installation instruction. Will post a new thread in U-Boot section.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on TBS2921 MOI+
November 13, 2024 02:06PM
Alex,

Here is the instruction, please let me know if there is any problem, or any suggestion.

https://forum.doozan.com/read.php?3,138420

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
ri8
Re: Debian on TBS2921 MOI+
November 14, 2024 05:46AM
bodhi,

successfully flashed u-boot from 11Nov;
updated to the latest kirwood debian 6.11.6 on sda4 sata
while on the usb drive installation not ( 6.5.7)

problems:
1. while booting to sata,
have to manually bring drive rw,
network, load modules etc.
running fsck on sata partition while booting to usb is
successfull, but the same problem of not mounting sata partition rw automatically
(i've install linux-image-6.11.6 and 6.11.6 headers, and made new uImage and uInitrd wirh 6.11.6 kernel and moiplus
dtb.)
-thou, running from usb (6.5.7) goes smoothly.

2. while in u-boot, sometimes freezes, (may be,
because of usb;

Regards,
alex
Attachments:
open | download - uboot_boot_moiplus_sata_sda4.txt (33 KB)
open | download - uboot_boot_moiplus_usb_sdb2.txt (34.3 KB)
open | download - uboot_boot_moiplus_only.txt (6.1 KB)
Re: Debian on TBS2921 MOI+
November 14, 2024 01:03PM
Alex,

With the new u-boot and its default envs, you don't need to interrupt serial console and enter any thing. It will boot the kernel and rootfs automatically. So you need to reflash the default envs image.

1. The problem you are seeing all because the manuall setenvs that messed up the sequence. All you need to ensure is the rootfs partition (whether it is on HDD or USB) must be labeled rootfs.

2. When you boot with USB rootfs, you need to mount the HDD manually. This is becasue the rootfs is a basic and barebone rootfs, it's up to the users to install extra package or change udev rules to make that happen. So you can install some automounting package such as autofs to handle that.

Thanks for testing u-boot, I'm still looking at the logs, but so far so good!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 11/14/2024 01:12PM by bodhi.
Re: Debian on TBS2921 MOI+
November 14, 2024 01:24PM
Alex,

You need to set nemask and gatewayip before it will connect to the DNS server on the internet. This step 7 mentioned that the envs specific to your box need to be restored. But not the boot sequence, it handles that automatically.

Quote

7. Restore MAC address and other envs

Restore the MAC address using the saved envs in current_envs.txt. Or find the MAC address on the sticker outside the case. Replace xx:xx:xx:xx:xx:xx with the real values.

fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
For sanity check, list you envs again
fw_printenv

You also want to restore other specific information such as ipaddr (IP address of this box, if you use static IP).

Don't reboot if there is error while listing U-Boot envs. Post at the forum for help.

So if you do fw_printenv and see all existing defaut envs, proceed to set the envs in Debian.

fw_setenv netmask 255.255.255.0
fw_setenv gatewayip <your router IP address>
fw_setenv ipaddr <your box IP address>

and so on....

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 11/14/2024 01:25PM by bodhi.
ri8
Re: Debian on TBS2921 MOI+
November 15, 2024 02:18AM
bodhi,

i've already posted that, but somehow
the thread moved to another llist,
so i send it again;

the problems are
1. after update to 6.11.6 on sata drive
boot breaks on fsck; i can boot from
usb, and run fsck on that partition successfully,
but repeated boot from sata breaks again on fsck,
on the partition just have been checked

2. uboot , with usb inserted. freezes after some time

Regards, alex
Attachments:
open | download - uboot_boot_moiplus_sata_sda4.txt (33 KB)
open | download - uboot_boot_moiplus_usb_sdb2.txt (34.3 KB)
open | download - uboot_boot_moiplus_only.txt (6.1 KB)
ri8
Re: Debian on TBS2921 MOI+
November 15, 2024 12:36PM
bodi

because of previous panic on default

root=LABE=rootfs
changed to native sda4; (also in fstab),
now,starting in the
initramfs only


regards. alex
Attachments:
open | download - moiplus_6.11.6_sata_a4_log.txt (37.1 KB)
Re: Debian on TBS2921 MOI+
November 15, 2024 01:11PM
Alex,

My bad :) I should have reminded you to go back to the Debian rootfs instruction. We are booting with the new u-boot. So option 4a is the right one. We want to use the original uImage, not the one that has the DTB appended.


Quote

4. Create uImage and uInitrd and setup for booting.

I'm using the GoFlex Net booting with USB drive as an example here. Please replace its name (kirkwood-goflexnet.dtb) with the box you are installing on (for example, kirkwood-pogo_e02.dtb). Please look inside the rootfs /boot/dts/ for the correct DTB file name for your box.

Below are the 2 different alternatives in booting (method 4b is required for booting with older U-Boot that does not support FDT, but should not be used if running latest u-boot).

- Choose option 4a if you are going to use the current rootfs for many different Kirkwood boxes, as is. It should boot most of the Kirkwood boxes. And with the latest U-Boot for Kirkwood that suports FDT (if you are installing both the new u-boot and rootfs for the first time, too). This is the preferred method.

- Choose option 4b (This method is required for booting with older U-Boot that does not support FDT) if you only use the current rootfs for the box you're installing on, and don't want to modify u-boot envs. Note that if you are installing from stock OS, u-boot envs must be modified to boot with USB or HDD (please see Boot Kirkwood rootfs with stock u-boot for how to set up the envs in serial console).

4a. Boot with DTB file (standard way to boot FDT kernel). Recommended.

Generate the uImage and uInitrd (the kernel files vmlinuz-6.11.6-kirkwood-tld-1 and initrd.img-6.11.6-kirkwood-tld-1 were generated by dpkg in Step 3):
cd /boot
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.11.6-kirkwood-tld-1 -d vmlinuz-6.11.6-kirkwood-tld-1 uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.11.6-kirkwood-tld-1 -d initrd.img-6.11.6-kirkwood-tld-1 uInitrd

4b. Boot with DTB file embedded in the kernel image.Again, this step 4b is for stock U-Boot only.

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (find in /boot/dts).

Generate the uImage and uInitrd (the kernel files vmlinuz-6.11.6-kirkwood-tld-1 and initrd.img-6.11.6-kirkwood-tld-1 were generated by dpkg in Step 3):
cd /boot
mv uImage uImage.orig
mv uInitrd uInitrd.orig
cp -a zImage-6.11.6-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.11.6-kirkwood-tld-1 -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.11.6-kirkwood-tld-1 -d initrd.img-6.11.6-kirkwood-tld-1 uInitrd

So boot into Debian and restore uImage.
cd  /boot
cp -a uImage.orig uImage
And check the rootfs label to be sure.
e2label /dev/sda4
I also noticed your dtb_file env is not set (you have unset it?)
fw_setenv dtb_file '/boot/dts/kirkwood-moi-plus.dtb'

Sync and reboot.
sync
sync
shutdown -r now

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
ri8
Re: Debian on TBS2921 MOI+
November 15, 2024 03:16PM
bodhi,

thank you!
now, the issue with 8188eus
driver
git clone https://github.com/ivanovborislav/rtl8188eu.git

compiles smoothly, but fails to load;
i compiled only with ARCH=arm extra
parameter given, which obviously, not enough.
not much experience with it

Regards,
alex
Attachments:
open | download - uboot_15_NOV_20204_moiplus_debian_6.11.6_log.txt (32.5 KB)
Re: Debian on TBS2921 MOI+
November 15, 2024 03:51PM
Alex,

Excellent!

I observe that you actually have the kernel files on the 1st partition, but the entire rootfs is on the 4th partition! is that correct? or have you move the rootfs to the 1st partition?

Scan device sata
device sata 0:1
1 bytes read in 5 ms (0 Bytes/s)
Found bootable drive on sata 0

This is something I meant to improve: the scan_disk script. Currently, scan_disk only look at the 1st partition of each disk. If you have the rootfs on the 1st partition then you don't need extra scheme.

====

I also looked at the Wifi module. You might not need to build it out of tree. The staging drivers has some Wifi driver that looks promising.

Staging driver has RTL8188SU

root@tldDebian:/usr/src/linux-6.11.6-tld/drivers/staging# find . -name '*.[ch]' | xargs grep 8188

./rtl8723bs/hal/HalPhyRf_8723B.h:#endif /*  #ifndef __HAL_PHY_RF_8188E_H__ */
./rtl8723bs/hal/HalPhyRf_8723B.c:static u8 DeltaSwingTableIdx_2GA_N_8188E[] = {
./rtl8723bs/hal/HalPhyRf_8723B.c:static u8 DeltaSwingTableIdx_2GA_P_8188E[] = {
./rtl8723bs/hal/HalPhyRf_8723B.c:		*TemperatureUP_A   = (u8 *)DeltaSwingTableIdx_2GA_P_8188E;
./rtl8723bs/hal/HalPhyRf_8723B.c:		*TemperatureDOWN_A = (u8 *)DeltaSwingTableIdx_2GA_N_8188E;
./rtl8723bs/hal/HalPhyRf_8723B.c:		*TemperatureUP_B   = (u8 *)DeltaSwingTableIdx_2GA_P_8188E;
./rtl8723bs/hal/HalPhyRf_8723B.c:		*TemperatureDOWN_B = (u8 *)DeltaSwingTableIdx_2GA_N_8188E;
./rtl8723bs/hal/HalPwrSeqCmd.c:/*  This routine deal with the Power Configuration CMDs parsing for RTL8723/RTL8188E Series IC. */
./rtl8723bs/hal/odm.h:#define MAX_PATH_NUM_8188E		1
./rtl8723bs/hal/odm.h:	u8 DeltaSwingTableIdx_2GA_P_8188E[DELTA_SWINGIDX_SIZE];
./rtl8723bs/hal/odm.h:	u8 DeltaSwingTableIdx_2GA_N_8188E[DELTA_SWINGIDX_SIZE];
./rtl8723bs/hal/odm.c:		/* (pDM_Odm->SupportICType & (ODM_RTL8188E) &&(&&(((pDM_Odm->SupportInterface  == ODM_ITRF_SDIO))) */
./rtl8723bs/include/rtw_mlme_ext.h:/* 	The Realtek 8188CE SoftAP will spend around 100ms to send the probe response after receiving the probe request. */
./rtl8723bs/include/hal_com_reg.h:/*        8723/8188E Host System Interrupt Status Register (offset 0x5C, 32 byte) */
./rtl8723bs/include/hal_com_reg.h:/*  RTL8723/RTL8188E SDIO Host Interrupt Mask Register */
./rtl8723bs/core/rtw_wlan_util.c:/* For 8188E RA */
./rtl8712/usb_intf.c:/* RTL8188SU */
./rtl8712/usb_intf.c:	{USB_DEVICE(0x07B8, 0x8188)},

I'll dig in to see if it was included in the kernel build. And whether it is applicable. Can you do a search to see if the Realtek RTL8188 EUS is a USB or PCI adapter chip. And

lspci -vv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 11/15/2024 03:54PM by bodhi.
Re: Debian on TBS2921 MOI+
November 15, 2024 05:11PM
These are the RTL chip modules currently in the 6.11.6-kirwood-tld-1 kernel that can be modprobed.

r8192e_pci.ko.xz
r8712u.ko.xz
r8723bs.ko.xz

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
ri8
Re: Debian on TBS2921 MOI+
November 16, 2024 04:04AM
bodhi,

>Scan device sata
>device sata 0:1
>1 bytes read in 5 ms (0 Bytes/s)
>Found bootable drive on sata 0

> I observe that you actually have the kernel files on the 1st partition, but the entire rootfs is on the 4th partition! is that >correct? or have you move the rootfs to the 1st partition?

no; sata 0:1 is a vfat partition
with a boot file from grub4dos
in the root of it called "boot" (
useless now, because of gpt)
've deleted it now
>>check e2label /dev/sda4
>>just for the case

-- > clairvoiyant !

my confusion with root=LABEL=rootfs was
due to not realizing, that gdisk label
is not automatically a
e2label
;-)
've labeld it to my great
satisfaction, and u-boot 's flying!

the only 2 things in u-boot env i changed is
to set bootcmd_linux_usb
for rescue usb-booting
and adding a "4" to disks.

My uEnv.txt is like that:
dtb_file=boot/dts_moiplus/kirkwood-moi-plus.dtb
devices=sata usb
disks=0 1
load_dtb_addr=0x2c00000
disks=0 1 2 3 4

so, yes, i've unset dtb_file in u-boot env
for the case i forget something, if
booting from usb where i have no uEnv.txt
in /boot
----
btw,
i found kind'a messy to
edit those fw_setenv inputs
in a copy-paste manner;

would it be possible
to change that fw_setenv in order to be able
to feed it from a file, after the string been edited
in editor, like
fw_printenv scan_disk `cat scan_disk,txt` or
cat scan_disk.txt | fw_printenv scan_disk

3. the rtl modules from staging you suggested
are loadable, but not resulted in RTL8188EUS chip
being recognized
may it be attached to usb instead of pci?
in this case, have i look at something on a board closely or send you some
low-res pic?
in the meantime, i'll try to compile 8188 source from aircrack-ng another
time
Regards,
alex
Attachments:
open | download - moi_plus_lspci_log.txt (4.5 KB)
open | download - moi_plus_lsusb_log.txt (7.9 KB)
Re: Debian on TBS2921 MOI+
November 16, 2024 01:56PM
Alex,

> >>check e2label /dev/sda4
> >>just for the case
>
> -- > clairvoiyant !
>
> my confusion with root=LABEL=rootfs was
> due to not realizing, that gdisk label
> is not automatically a
> e2label
> ;-)
> 've labeld it to my great
> satisfaction, and u-boot 's flying!

Cool!

The partition label is bit weird. A lot of Ubuntu users had this problem using GUI to label the partition, too.

> My uEnv.txt is like that:
> dtb_file=boot/dts_moiplus/kirkwood-moi-plus.dtb
> devices=sata usb
> disks=0 1
> load_dtb_addr=0x2c00000
> disks=0 1 2 3 4
>
> so, yes, i've unset dtb_file in u-boot env
> for the case i forget something, if
> booting from usb where i have no uEnv.txt
> in /boot

I see. Then your kernel uImage on the USB rootfs has the DTB embedded.

> btw,
> i found kind'a messy to
> edit those fw_setenv inputs
> in a copy-paste manner;
>
> would it be possible
> to change that fw_setenv in order to be able
> to feed it from a file, after the string been
> edited
> in editor, like
> fw_printenv scan_disk `cat scan_disk,txt` or
> cat scan_disk.txt | fw_printenv scan_disk

You can just copy/paste. The correct way is to modify the command in a text note and copy and paste the whole long command. Don't try to modify the text at command line.

> 3. the rtl modules from staging you suggested
> are loadable, but not resulted in RTL8188EUS
> chip
> being recognized
> may it be attached to usb instead of pci?
> in this case, have i look at something on a
> board closely

Or google for information about this specific RTL8188 chip. There are still some RTL staging driver not enabled yet in the kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on TBS2921 MOI+
November 16, 2024 08:22PM
ri8 Wrote:
-------------------------------------------------------
............................

> would it be possible
> to change that fw_setenv in order to be able
> to feed it from a file, after the string been
> edited
> in editor, like
> fw_printenv scan_disk `cat scan_disk,txt` or
> cat scan_disk.txt | fw_printenv scan_disk

Try

fw_setenv -s envfile.txt




envfile.txt can be generated from fw_printenv command

fw_printenv >envfile.txt
Re: Debian on TBS2921 MOI+
November 17, 2024 02:46PM
David,

> Try
>
>
> fw_setenv -s envfile.txt
>
>

You've taught me, this old dog, a new trick :) never occured to me to look at the man page for this! Thanks!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on TBS2921 MOI+
November 17, 2024 05:59PM
Bodhi, you know these things well and you don't need to run that command, you just fix the env with just a few commands. For me, I always mess up things and I need a "fresh start" again and again. :P


To Ri8: Did you install firmware-realtek package?
ri8
Re: Debian on TBS2921 MOI+
November 18, 2024 09:11AM
David,
fresh wind in the thread, welcome-)

root@debian:~# apt-get install firmware-realtek
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
firmware-realtek is already the newest version (20230210-5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

root@debian:~# uname -va
Linux debian 6.11.6-kirkwood-tld-1 #1 PREEMPT Wed Nov 6 21:13:12 PST 2024 armv5tel GNU/Linux
root@debian:~#
.
ri8
Re: Debian on TBS2921 MOI+
November 19, 2024 05:46AM
bodhi,

i'm about to recompile kernel;

the source of rtl8188eus compiles well
but then:

make install clean
install -p -m 644 8188eu.ko /lib/modules/6.11.6-kirkwood-tld-1/kernel/drivers/net/wireless/
install: cannot stat '8188eu.ko': No such file or directory
compiling of 8188eu sources fails - and
-it's not in staging tree;

but i've seen in .config for 6.1 sources 8188eu option;

i knew to kernel compilation for kirkwood,
so, if i could get some advice from you
in this regard
Regards,
alex
Re: Debian on TBS2921 MOI+
November 19, 2024 12:04PM
Alex,

Why don't you use DKMS?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
ri8
Re: Debian on TBS2921 MOI+
November 19, 2024 02:07PM
bodhi,

got it.
but now, because i ve occasionally
changed /etc/apt/sources,
i can only boot without modules;-)
to compile them fails, and now
the only option i see is to fall-back on 6.5.7 rootfs
or . may be you have that of 6.11.6 version there
for download.
Regards, alex
Re: Debian on TBS2921 MOI+
November 19, 2024 02:12PM
Alex,

> but now, because i ve occasionally
> changed /etc/apt/sources,
> i can only boot without modules;-)
> to compile them fails, and now
> the only option i see is to fall-back on 6.5.7
> rootfs
> or . may be you have that of 6.11.6 version there
> for download.

I don't package the modules separately, if that's what you meant?

You could use a fresh rootfs and install 6.11.6 kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
ri8
Re: Debian on TBS2921 MOI+
November 19, 2024 03:43PM
bohi,
i mean, fresh rootfs,
6.11.6 could be downloaded?
6.5.7 will also do, thou
r.
alex
Re: Debian on TBS2921 MOI+
November 19, 2024 04:02PM
Alex,

> i mean, fresh rootfs,
> 6.11.6 could be downloaded?
> 6.5.7 will also do, thou

The Debian-6.5.7-kirkwood-tld-1 rootfs is a bookworm rootfs, so there is no need to have a new one.

You can install kernel linux-6.11.6-kirkwood-tld-1 while running this rootfs.

Quote
https://forum.doozan.com/read.php?2,12096
Updated 10 Nov 2024:

Kernel linux-6.11.6-kirkwood-tld-1 package has been uploaded.
...
...
This tarball contains 6 files:
linux-image-6.11.6-kirkwood-tld-1_1_armel.deb
linux-headers-6.11.6-kirkwood-tld-1_1_armel.deb
config-6.11.6-kirkwood-tld-1
zImage-6.11.6-kirkwood-tld-1
linux-dtb-6.11.6-kirkwood-tld-1.tar
linux-6.11.6-kirkwood-tld-1.patch
...
...
dpkg -i linux-image-6.11.6-kirkwood-tld-1_1_armel.deb

Since you are using DKMS, you also need to install the header package linux-headers-6.11.6-kirkwood-tld-1_1_armel.deb.

dpkg -i linux-headers-6.11.6-kirkwood-tld-1_1_armel.deb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: