Re: tbs2921/moi+ November 11, 2024 02:43AM |
Registered: 6 weeks ago Posts: 56 |
Re: tbs2921/moi+ November 11, 2024 01:01PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on TBS2921 MOI+ November 13, 2024 03:08AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 13, 2024 03:18AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 13, 2024 03:22AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 13, 2024 03:44AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 13, 2024 04:27AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 13, 2024 12:56PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on TBS2921 MOI+ November 13, 2024 02:06PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on TBS2921 MOI+ November 14, 2024 05:46AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 14, 2024 01:03PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on TBS2921 MOI+ November 14, 2024 01:24PM |
Admin Registered: 13 years ago Posts: 19,102 |
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.
fw_setenv netmask 255.255.255.0 fw_setenv gatewayip <your router IP address> fw_setenv ipaddr <your box IP address>
Re: Debian on TBS2921 MOI+ November 15, 2024 02:18AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 15, 2024 12:36PM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 15, 2024 01:11PM |
Admin Registered: 13 years ago Posts: 19,102 |
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
cd /boot cp -a uImage.orig uImageAnd check the rootfs label to be sure.
e2label /dev/sda4I also noticed your dtb_file env is not set (you have unset it?)
fw_setenv dtb_file '/boot/dts/kirkwood-moi-plus.dtb'
sync sync shutdown -r now
Re: Debian on TBS2921 MOI+ November 15, 2024 03:16PM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 15, 2024 03:51PM |
Admin Registered: 13 years ago Posts: 19,102 |
Scan device sata device sata 0:1 1 bytes read in 5 ms (0 Bytes/s) Found bootable drive on sata 0
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)},
lspci -vv
Re: Debian on TBS2921 MOI+ November 15, 2024 05:11PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on TBS2921 MOI+ November 16, 2024 04:04AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 16, 2024 01:56PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on TBS2921 MOI+ November 16, 2024 08:22PM |
Registered: 7 years ago Posts: 375 |
fw_setenv -s envfile.txt
fw_printenv >envfile.txt
Re: Debian on TBS2921 MOI+ November 17, 2024 02:46PM |
Admin Registered: 13 years ago Posts: 19,102 |
> fw_setenv -s envfile.txt >>
Re: Debian on TBS2921 MOI+ November 17, 2024 05:59PM |
Registered: 7 years ago Posts: 375 |
Re: Debian on TBS2921 MOI+ November 18, 2024 09:11AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 19, 2024 05:46AM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 19, 2024 12:04PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on TBS2921 MOI+ November 19, 2024 02:07PM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 19, 2024 02:12PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on TBS2921 MOI+ November 19, 2024 03:43PM |
Registered: 6 weeks ago Posts: 56 |
Re: Debian on TBS2921 MOI+ November 19, 2024 04:02PM |
Admin Registered: 13 years ago Posts: 19,102 |
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
dpkg -i linux-headers-6.11.6-kirkwood-tld-1_1_armel.deb