Do we still need those 3 patches for u-boot linux4microchip+fpga-2023.09 in 03_build_u-boot.sh?

Hi, all:

The following 3 lines in file are for u-boot branch linux4microchip+fpga-2023.02.

......
cp -v ../patches/u-boot/beaglev-fire/microchip_mpfs_icicle.h include/configs/microchip_mpfs_icicle.h
cp -v ../patches/u-boot/beaglev-fire/microchip-mpfs-icicle-kit.dts arch/riscv/dts/
cp -v ../patches/u-boot/beaglev-fire/microchip_mpfs_icicle_defconfig configs/microchip_mpfs_icicle_defconfig
......

Just wonder for u-boot branch linux4microchip+fpga-2023.09, do we still need some corresponding 3 lines?

Cheers

Those 3 patches are still needed for linux4microchip+fpga-2023.02, since launch i haven’t re-based the patch-set yet on a newer snapshot.

Regards,

Hi, @RobertCNelson

I just tried linux4microchip+fpga-2023.09, without those 3 patches, it’s working propertly.
And, it looks, I have to remove those 3 patches from file 03_build_u-boot.sh. Finally, boot into debian.

[  OK  ] Finished systemd-user-sessions.service - Permit User Sessions.
[   24.197143] imx219 1-0010: failed to read chip id 219
[   24.202314] imx219: probe of 1-0010 failed with error -5
[   24.667023] usb0: HOST MAC 00:04:a3:d5:1a:45
[   24.671376] usb0: MAC 00:04:a3:d5:1a:46
[   24.680189] configfs-gadget.g_multi gadget.0: unable to autoconfigure all endpoints
[   24.693802] udc musb-hdrc.1.auto: failed to start g_multi: -524
[   24.699874] configfs-gadget.g_multi: probe of gadget.0 failed with error -524
[   24.707368] UDC core: g_multi: couldn't find an available UDC or it's busy
[FAILED] Failed to start bb-usb-gadgets.service - BeagleBoard.org USB gadgets.
See 'systemctl status bb-usb-gadgets.service' for details.
[  OK  ] Finished cockpit-motd.service - Cockpit motd updater service.
[  OK  ] Started nginx.service - A high per… server and a reverse proxy server.
[  OK  ] Started getty@tty1.service - Getty on tty1.
[  OK  ] Started serial-getty@ttyGS0.service - Serial Getty on ttyGS0.
[  OK  ] Started serial-getty@ttyS0.service - Serial Getty on ttyS0.
[  OK  ] Reached target getty.target - Login Prompts.
[  OK  ] Finished grow_partition.service - Grow Root Partition.

Debian GNU/Linux trixie/sid BeagleV ttyS0

BeagleBoard.org Debian Sid Console Image 2023-12-19
Support: https://bbb.io/debian
default username:password is [debian:temppwd]

Web console: https://BeagleV.localdomain:9090/

BeagleV login: debian
Password: 

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@BeagleV:~$ neofetch
Command 'neofetch' not found, but can be installed with:
sudo apt install neofetch
debian@BeagleV:~$ sudo apt install neofetch
[sudo] password for debian: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package neofetch
debian@BeagleV:~$ uname -a
Linux BeagleV 6.1.43-linux4microchip+fpga-2023.09-20231219+ #1 SMP Tue Dec 19 12:57:20 PST 2023 riscv64 GNU/Linux
debian@BeagleV:~$ sudo apt update
Ign:1 http://deb.debian.org/debian sid InRelease
Ign:2 http://debian.beagleboard.org/riscv64 sid InRelease
Ign:3 http://repos.rcn-ee.com/debian-riscv64 sid InRelease
Ign:1 http://deb.debian.org/debian sid InRelease
Ign:2 http://debian.beagleboard.org/riscv64 sid InRelease
Ign:3 http://repos.rcn-ee.com/debian-riscv64 sid InRelease
Ign:1 http://deb.debian.org/debian sid InRelease
Ign:2 http://debian.beagleboard.org/riscv64 sid InRelease
Ign:3 http://repos.rcn-ee.com/debian-riscv64 sid InRelease
Err:1 http://deb.debian.org/debian sid InRelease
  Temporary failure resolving 'deb.debian.org'
Err:2 http://debian.beagleboard.org/riscv64 sid InRelease
  Temporary failure resolving 'debian.beagleboard.org'
Err:3 http://repos.rcn-ee.com/debian-riscv64 sid InRelease
  Temporary failure resolving 'repos.rcn-ee.com'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://deb.debian.org/debian/dists/sid/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://debian.beagleboard.org/riscv64/dists/sid/InRelease  Temporary failure resolving 'debian.beagleboard.org'
W: Failed to fetch http://repos.rcn-ee.com/debian-riscv64/dists/sid/InRelease  Temporary failure resolving 'repos.rcn-ee.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
debian@BeagleV:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
debian@BeagleV:~$ sudo apt install zsh vimrc 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package zsh is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'zsh' has no installation candidate
E: Unable to locate package vimrc
debian@BeagleV:~$ sudo apt install neofetch
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package neofetch
debian@BeagleV:~$ 

However:

  1. it wouldn’t let me install
  • zsh
  • vimrc
  • neofetch

is there any repo I’m missing for this debian?

  1. and, does this matter a lot?
    [FAILED] Failed to start bb-usb-gadgets.service - BeagleBoard.org USB gadgets.

Except network is busted… You should probably go back to the old version of u-boot till i rebase things…

neofetch exist in sid…

voodoo@unmatched-16gb-110:~$ neofetch 
       _,met$$$$$gg.          voodoo@unmatched-16gb-110 
    ,g$$$$$$$$$$$$$$$P.       ------------------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux trixie/sid riscv64 
 ,$$P'              `$$$.     Host: SiFive HiFive Unmatched A00 
',$$P       ,ggs.     `$$b:   Kernel: 6.5.0-5-riscv64 
`d$$'     ,$P"'   .    $$$    Uptime: 6 days, 20 hours, 34 mins 
 $$P      d$'     ,    $$P    Packages: 1671 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.21 
 $$;      Y$b._   _,d$P'      Terminal: /dev/pts/0 
 Y$$.    `.`"Y$$$$P"'         CPU: (4) 
 `$$b      "-.__              Memory: 822MiB / 15978MiB 
  `Y$$
   `Y$$.                                              
     `$$b.                                            
       `Y$$b.
          `"Y$b._
              `"""

i need to plug in a BeagleV-Fire…

Regards,

1 Like

yeah… I even didn’t plugin the Wired connection…

Thank you … Every time you helped me out… Thanks…

debian@BeagleV:~$ neofetch
       _,met$$$$$gg.          debian@BeagleV 
    ,g$$$$$$$$$$$$$$$P.       -------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux trixie/sid riscv64 
 ,$$P'              `$$$.     Host: BeagleBoard BeagleV-Fire 
',$$P       ,ggs.     `$$b:   Kernel: 6.1.43-linux4microchip+fpga-2023.09-20231219+ 
`d$$'     ,$P"'   .    $$$    Uptime: 12 mins 
 $$P      d$'     ,    $$P    Packages: 587 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.21 
 $$;      Y$b._   _,d$P'      Terminal: /dev/pts/0 
 Y$$.    `.`"Y$$$$P"'         CPU: (4) 
 `$$b      "-.__              Memory: 88MiB / 1541MiB 
  `Y$$
   `Y$$.                                              
     `$$b.                                            
       `Y$$b.
          `"Y$b._
              `"""
âžś  ~ uname -a
Linux BeagleV 6.1.43-linux4microchip+fpga-2023.09-20231219+ #1 SMP Tue Dec 19 12:57:20 PST 2023 riscv64 GNU/Linux
âžś  ~ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux trixie/sid
Release:	n/a
Codename:	trixie