WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dcore-101  (Read 24895 times)

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101
« Reply #75 on: May 17, 2015, 05:37:47 PM »
Huh?! I am sorry but I do not know where to put your statement, both intellectually as well as editorially -- nor can I grasp its importance. Could you please provide some more background information or give a use case? That would probably help determine how/where to include this in the wiki.

Exploring unknown territory is fun past-time and I am learning a lot, albeit on a somewhat slow pace. I wish I knew some more of the technical technicalities like, well, drivers and firmware for example. :)
Thank you for making this excellent plattform for tinkering and learning available!

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: dcore-101
« Reply #76 on: May 18, 2015, 07:25:46 AM »
Probably anyone building kernel modules will already know that with the shared kernel that was built on Core, modules will have to be built there as well.

The main kernel image needs to be built with the same version of GCC as the modules.  Preferably, just build with the same system. 

So probably not a need for that to be in the wiki.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101, firmware
« Reply #77 on: May 21, 2015, 03:30:07 PM »
About the video driver page, you could add the fact that some driver needs firmware.

I happened to encountered the opportunity/necessity of diving more deeply into matters of drivers and firmware. So I could make sense of your comment and added it to the wiki.

So probably not a need for that to be in the wiki.
Amen!  ::)

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101
« Reply #78 on: July 20, 2015, 06:52:39 AM »
Sorry to revive a dormant thread but it seems to be the appropriate one.  ;)
The boot-codes "opt" and "home" do create their respective directories in the specified partition if they did not exist already.
However, "tce" does not so; furthermore it takes a directory instead of a partition.
Is this expected behavior or am I over-looking something obvious?

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101
« Reply #79 on: July 20, 2015, 08:09:00 AM »
I have investigated a bit on this and found out that the described behavior happens when specifying partitions by device files ('/dev/sdXn'); i.e. '/home/' and '/opt/' do get properly set up whereas 'tce/' does not.

This behavior changes if the boot-code is specified as "tce=LABEL=<LABEL>". In this case, 'tce/' does get properly set up.

I do not think that this is expected behavior.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: dcore-101
« Reply #80 on: July 20, 2015, 08:18:45 AM »
The protocol is to specify tce=sda2 not tce=/dev/sda2.  But if home and opt work when doing that, I can use that same logic for tce.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101
« Reply #81 on: July 20, 2015, 09:45:43 AM »
Aha, I did not know about this.
IMHO it would make sense to have the same behavior for all three boot-codes. I shall add the information to the wiki.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: dcore-101
« Reply #82 on: July 20, 2015, 12:33:46 PM »
Not sure if this helps, but if dCore is based on Core then for consistency here's what the Core book says:
Quote
10.1. tce - extensions directory
The tce bootcode specifies where to locate and store the extensions
and backup. If it’s not given, the system will scan all drives for a
first-level directory called /tce. Thus it may improve boot time to
specify where it is.
It needs to be given when there are multiple such directories (for
example to use your USB installation even on machines with Core
on the hard disk), or if the directory is not named tce.

The bootcode supports both labels and UUIDs (universal
identifiers), which are a necessity with USB drives, as you can’t tell
beforehand how the USB stick might get named.
Examples:
• tce=sda1
• tce=sda1/mydir
• tce=LABEL=mydisk
• tce=LABEL=mydisk/mydir
• tce=UUID=fho4-3436t
• tce=UUID=fho4-3436t/mydir
Quote
10.5. home and opt - persistence
The home and opt bootcodes let you keep the respective directories
on a persistent disk. Each bootcode takes either a drive name, a
label, or an UUID.
These options are covered in more detail in the persistence chapter.

Examples:
• home=sda1
• home=LABEL=mydisk
• home=UUID=fho4-3436t

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101
« Reply #83 on: July 20, 2015, 01:50:27 PM »
Right on the spot, nitram. Thanks!

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: dcore-101
« Reply #84 on: July 21, 2015, 06:59:45 AM »
Yeah, best to be expected to follow the longstanding boot code convention.  The home and opt persistence was coded long ago, and has the /dev stripped from the entries if they exist evidently.  The TCE directory setup was more recently (recent years) changed to call on tce-setup, and that stripping of /dev apparently was not added in.  That is the reason they behave differently if the /dev is mistakenly added to the boot option line. 

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101
« Reply #85 on: July 21, 2015, 08:35:49 AM »
Agreed! I had neglected the CoreBook as reference. I have corrected the wiki.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: dcore-101
« Reply #86 on: July 28, 2015, 01:46:30 AM »
Hi
I've added this to the wiki:
http://wiki.tinycorelinux.net/dcore:keyboard_layout_in_console#keyboard_layout_-_tinycore_way
kmaps could be added to the dCore repo.
dCore user

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101
« Reply #87 on: July 28, 2015, 02:28:11 AM »
Great, thanks a lot! I went over the structure and now your addition is better visible. I was wondering about what codes for the layout to use. Is there a list available from TC? A quick Google-search did not turn up much.

I did not know that regular TC-extensions can be used in dCore. Is there no substantial difference between the two?

I agree that adding kmaps to the dCore-repo would be very valuable for international users.
@JasonW: hope you see this! What do you say?

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: dcore-101
« Reply #88 on: July 28, 2015, 02:37:12 AM »
Great, thanks a lot! I went over the structure and now your addition is better visible. I was wondering about what codes for the layout to use. Is there a list available from TC? A quick Google-search did not turn up much.
look at the content of the tcz:
http://tinycorelinux.net/6.x/x86/tcz/kmaps.tcz.list
I did not know that regular TC-extensions can be used in dCore. Is there no substantial difference between the two?
no differences

dCore user

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dcore-101
« Reply #89 on: July 28, 2015, 02:45:04 AM »
OK. Have added link to this list to the wiki.