Okay , now pushed: https://github.com/beagleboard/linux/tree/v5.10.168-ti-r70
config change for loading fat without initramfs.. https://git.beagleboard.org/RobertCNelson/ti-linux-kernel-dev/-/commit/5c4391852d7ebd91627b158fe35d6aa6a99bc649 On Wed, Aug 30, 2023 at 1:25 PM Robert Nelson via lists.yoctoproject.org <[email protected]> wrote: > > Thanks Anthony, > > From the BeagleBoard.org side, I'm sorry about this, we long moved > away from using a fat boot partition, so I didn't catch this.. I'll > push out a newer checkout later today.. Then you'll just need to bump > the BRANCH in yocto.. > > Regards, > > On Wed, Aug 30, 2023 at 1:14 PM Anthony Martinez via > lists.yoctoproject.org <[email protected]> > wrote: > > > > Hi All, > > > > I'm trying to get poky to run properly with systemd on a Beaglebone Black, > > and I've hit a hitch I can't seem to resolve. What I've done is: > > > > - Clone `meta-arm` and `meta-ti` under `poky` > > - Create and checkout a new `bbb-kirkstone` tracking `origin/kirkstone` > > branches in `poky`, `meta-arm` and `meta-ti` > > - Added the paths to `meta-arm/meta-arm`, `meta-arm/meta-arm-toolchain`, > > and `meta-ti/meta-ti-bsp` to `BBLAYERS` in `poky/build/conf/bblayers.conf` > > - Set the following in `poky/build/conf/local.conf` > > > > ``` > > MACHINE ?= "beaglebone" > > DISTRO_FEATURES:append = " systemd" > > DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" > > INIT_MANAGER = "systemd" > > VIRTUAL_RUNTIME_init_manager = "systemd" > > VIRTUAL_RUNTIME_initscripts = "systemd-compat-units" > > ``` > > > > After I run `bitbake core-image-base`, and write the resulting image to SD > > this is what I get on the console at boot: > > ``` > > [ 15.964307] FAT-fs (mmcblk0p1): IO charset ascii not found > > [FAILED] Failed to mount /boot. > > See 'systemctl status boot.mount' for details. > > [DEPEND] Dependency failed for Local File Systems. > > > > ``` > > > > From here, I've got a system in `maintenance` mode with no `/boot` mounted. > > > > If I look in > > `poky/build/tmp/work/beaglebone-poky-linux-gnueabi/linux-bb.org/5.10.162+gitAUTOINC+982fde4eb3-r0/image/boot` > > I find the following options in the config: > > ``` > > poky/build/tmp/work/beaglebone-poky-linux-gnueabi/linux-bb.org/5.10.162+gitAUTOINC+982fde4eb3-r0/image/boot$ > > grep FAT config-5.10.162+ > > # DOS/FAT/EXFAT/NT Filesystems > > CONFIG_FAT_FS=y > > CONFIG_VFAT_FS=y > > CONFIG_FAT_DEFAULT_CODEPAGE=437 > > CONFIG_FAT_DEFAULT_IOCHARSET="ascii" > > CONFIG_FAT_DEFAULT_UTF8=y > > CONFIG_EXFAT_FS=m > > CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8" > > # end of DOS/FAT/EXFAT/NT Filesystems > > > > poky/build/tmp/work/beaglebone-poky-linux-gnueabi/linux-bb.org/5.10.162+gitAUTOINC+982fde4eb3-r0/image/boot$ > > grep CONFIG_NLS config-5.10.162+ > > CONFIG_NLS=y > > CONFIG_NLS_DEFAULT="utf8" > > CONFIG_NLS_CODEPAGE_437=m > > CONFIG_NLS_CODEPAGE_737=m > > CONFIG_NLS_CODEPAGE_775=m > > CONFIG_NLS_CODEPAGE_850=m > > CONFIG_NLS_CODEPAGE_852=m > > CONFIG_NLS_CODEPAGE_855=m > > CONFIG_NLS_CODEPAGE_857=m > > CONFIG_NLS_CODEPAGE_860=m > > CONFIG_NLS_CODEPAGE_861=m > > CONFIG_NLS_CODEPAGE_862=m > > CONFIG_NLS_CODEPAGE_863=m > > CONFIG_NLS_CODEPAGE_864=m > > CONFIG_NLS_CODEPAGE_865=m > > CONFIG_NLS_CODEPAGE_866=m > > CONFIG_NLS_CODEPAGE_869=m > > CONFIG_NLS_CODEPAGE_936=m > > CONFIG_NLS_CODEPAGE_950=m > > CONFIG_NLS_CODEPAGE_932=m > > CONFIG_NLS_CODEPAGE_949=m > > CONFIG_NLS_CODEPAGE_874=m > > CONFIG_NLS_ISO8859_8=m > > CONFIG_NLS_CODEPAGE_1250=m > > CONFIG_NLS_CODEPAGE_1251=m > > CONFIG_NLS_ASCII=m > > CONFIG_NLS_ISO8859_1=m > > CONFIG_NLS_ISO8859_2=m > > CONFIG_NLS_ISO8859_3=m > > CONFIG_NLS_ISO8859_4=m > > CONFIG_NLS_ISO8859_5=m > > CONFIG_NLS_ISO8859_6=m > > CONFIG_NLS_ISO8859_7=m > > CONFIG_NLS_ISO8859_9=m > > CONFIG_NLS_ISO8859_13=m > > CONFIG_NLS_ISO8859_14=m > > CONFIG_NLS_ISO8859_15=m > > CONFIG_NLS_KOI8_R=m > > CONFIG_NLS_KOI8_U=m > > CONFIG_NLS_MAC_ROMAN=m > > CONFIG_NLS_MAC_CELTIC=m > > CONFIG_NLS_MAC_CENTEURO=m > > CONFIG_NLS_MAC_CROATIAN=m > > CONFIG_NLS_MAC_CYRILLIC=m > > CONFIG_NLS_MAC_GAELIC=m > > CONFIG_NLS_MAC_GREEK=m > > CONFIG_NLS_MAC_ICELAND=m > > CONFIG_NLS_MAC_INUIT=m > > CONFIG_NLS_MAC_ROMANIAN=m > > CONFIG_NLS_MAC_TURKISH=m > > CONFIG_NLS_UTF8=m > > ``` > > > > The internet suggests that `CONFIG_NLS_ASCII=y` may resolve the issue, but > > as I'm quite new to Yocto I'm not sure what the right way to do that would > > be. I attempted to start with `devtool modify linux-bb.org`, but was met > > with an immense traceback ending in: > > ``` > > Exception: bb.fetch2.FetchError: Fetcher failure for URL: > > 'git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH}'. > > Please set a valid SRCREV for url ['SRCREV_default:pn-linux-bb.org', > > 'SRCREV_default', 'SRCREV:pn-linux-bb.org', 'SRCREV'] (possible key names > > are git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH}, > > or use a ;rev=X URL parameter) > > ``` > > > > Any suggestions as to how I might proceed and resolve this are greatly > > appreciated. > > > > Regards, > > Anthony > > > > > > > > > -- > Robert Nelson > https://rcn-ee.com/ > > > -- Robert Nelson https://rcn-ee.com/
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16913): https://lists.yoctoproject.org/g/meta-ti/message/16913 Mute This Topic: https://lists.yoctoproject.org/mt/101058535/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
