LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 02-10-2019, 07:36 AM   #16
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477

Original Poster
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Talking


Quote:
Originally Posted by drmozes View Post
It hasn't.

I'll look at the other FB stuff.
seconded - obsolete, please disregard.

----

besides that FB stuff, when already at it, maybe consider the u-boot and flash access options short of an patch:

https://linux-sunxi.org/Xunlong_Oran...#SPI_NOR_flash
u-boot:
Code:
 CONFIG_SPL_SPI_FLASH_SUPPORT, CONFIG_SPI_BOOT, CONFIG_SPL_SPI_SUNXI
kernel:
Quote:
Because u-boot can't actually interact with the flash once it's booted you need to write u-boot to it from linux. With a mainline kernel you need to enable the SPI NOR drivers in the kernel config and add a DT node something like this:
Code:
&spi0 {
        status = "okay";
        flash@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "winbond,w25q128";
                reg = <0>;
                spi-max-frequency = <40000000>;
        };
};
so we could have u-boot run from the inbuilt flash and boot freely from other media than the mmc card - and have said slot free for hot-plug and all things nice?

tho, this might be low priority.
 
Old 02-11-2019, 06:39 AM   #17
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,549

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by SCerovec View Post
s

https://linux-sunxi.org/Xunlong_Oran...#SPI_NOR_flash
u-boot:
Code:
 CONFIG_SPL_SPI_FLASH_SUPPORT, CONFIG_SPI_BOOT, CONFIG_SPL_SPI_SUNXI
kernel:


so we could have u-boot run from the inbuilt flash and boot freely from other media than the mmc card - and have said slot free for hot-plug and all things nice?
These options don't exist in 4.19.20 (or if they do, they aren't showing up). I wouldn't object to adding them for anybody else who wants to do it, although I have one "Pi"s that doesn't have onboard flash so it'd never be what I document as a suggested option.
Also, you still have to boot the thing in the first place - which presents a chicken-egg problem. I can't document what I don't know about - I don't know about any arbitrary version of u-boot that happens to be on any device. However, I do know that you can write a known version u-boot to an SD Card and have an environment in which you can follow a set of instructions and get Slackware going.
 
Old 02-11-2019, 07:55 AM   #18
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477

Original Poster
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Quote:
Originally Posted by drmozes View Post
These options don't exist in 4.19.20 (or if they do, they aren't showing up). I wouldn't object to adding them for anybody else who wants to do it, although I have one "Pi"s that doesn't have onboard flash so it'd never be what I document as a suggested option.
Also, you still have to boot the thing in the first place - which presents a chicken-egg problem. I can't document what I don't know about - I don't know about any arbitrary version of u-boot that happens to be on any device. However, I do know that you can write a known version u-boot to an SD Card and have an environment in which you can follow a set of instructions and get Slackware going.
1. the kernel configuration has grown to a mess - i used grep on the .config to confirm and used search on the nconfig to get around:
- one of the three is set already, the other two are "all over the place", so one would to resort to search in order to find them

2. good point - self brewing a custom u-boot is less of a nuisance to a casual hacker than maintaining too many options - let's disregard onboard u-boot then.

on another note;
3. could you please include (hard-coded please) the tiny 4x6 font in the lib section, so i would not need to run off an custom kernel when using ridiculously tiny screens, and i will pay off with cute photos of them (1.8" SPI TFT @128x160)?
 
Old 02-11-2019, 09:31 AM   #19
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,549

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by SCerovec View Post
1. the kernel configuration has grown to a mess - i used grep on the .config to confirm and used search on the nconfig to get around:
- one of the three is set already, the other two are "all over the place", so one would to resort to search in order to find them
Which config file are you using? It doesn't look like it's the one in -current.
Code:
prisere [configs] # egrep "SPL_SPI_FLASH_SUPPORT|SPI_BOOT|SPL_SPI_SUNXI" config-armv7
prisere [configs] #

Quote:
on another note;
3. could you please include (hard-coded please) the tiny 4x6 font in the lib section, so i would not need to run off an custom kernel when using ridiculously tiny screens, and i will pay off with cute photos of them (1.8" SPI TFT @128x160)?
ok.
 
Old 02-11-2019, 03:49 PM   #20
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477

Original Poster
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Quote:
Originally Posted by drmozes View Post
Which config file are you using? It doesn't look like it's the one in -current.
Code:
prisere [configs] # egrep "SPL_SPI_FLASH_SUPPORT|SPI_BOOT|SPL_SPI_SUNXI" config-armv7
prisere [configs] #
[snip]
Somehow You where seekeing for the u-boot options in the kernel config (been there, done that, yeah)

I asked for (not as clear as this time, I have admit - my bad):
Code:
CONFIG_MTD_SPI_NOR=m
since we, so far, have this:
Code:
grep "SPI" ../config-armv7-4.19.20 | grep "NOR"
# CONFIG_MTD_SPI_NOR is not set
Again, i apologize for the loss of your time due to me not being as clear as i possibly should have.
 
Old 02-11-2019, 07:09 PM   #21
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477

Original Poster
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
attached is the config i've got at so far (non LTS kernel)
Attached Files
File Type: txt config-4.20.7.txt (215.7 KB, 12 views)
 
  


Reply

Tags
-current, kernel, modules



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel: modules enabled? newbie9500 Linux - Software 4 11-05-2005 08:48 PM
cannot find map file. No module symbols loaded - kernel modules not enabled. jjorloff1 Linux - Software 3 01-06-2005 11:02 AM
kernel: No module symbols loaded - kernel modules not enabled. Qucho Debian 9 05-26-2004 02:50 AM
2.6.5 Problems:No module symbols loaded - kernel modules not enabled robbow52 Debian 11 05-11-2004 04:02 AM
kernel 2.6.0 debian "No module symbols loaded - kernel modules not enabled." toovato Linux - General 2 01-07-2004 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration