8. FAQ

8.1. Virtual Machine

8.1.1. What is the password for the default user of the virtual machine?

The password for the default user, that is architech, is:

Host

architech

8.1.2. What is the password of sudo?

The default passowrd of architech is architech. If you are searching more information about sudo command please refer to sudo section of the appendix.

8.1.3. What is the password for user root?

By default, Ubuntu 12.04 32bit comes with no password defined for roor user, to set it run the following command:

Host

sudo passwd root

Linux will ask you (twice, the second time is just for confirmation) to write the password for user root.

8.1.4. What are device files? How can I use them?

Please refer to device files section of the appendix.

8.1.5. I have problems to download the vm, the server cut down the connection

The site has limitation in bandwith. Use download manager and do not try to speed up the download. If you try to download fastly the server will broke up your download.

8.2. Hachiko

8.2.1. How to switch from hachiko to hachiko/SDRAM and viceversa

Switching from hachiko to hachiko/SDRAM or viceversa (adding or removing the external SDRAM) is a delicate operation that involves flashing a new U-Boot and using a new Kernel. To flash a new U-Boot it is needed to follow Section Write to NOR, writing the new U-Boot from the U-Boot itself or from Linux. After the first boot with the new U-Boot it is always suggested to give the following commands to reset the U-Boot environment stored in the second partition of the serial NOR:

  Board    select
env default -a
saveenv

and reboot the board.

Also the Linux kernel must be recompiled for the new configuration and substituted to the old one in the USB pend drive or in the NOR.

8.2.2. Bootargs and Framebuffer

Hachiko kernel uses two parameters passed by U-Boot at boot time to enable / disable / configure the framebuffer. These two parameters are vdc5fb0 for channel 0 and vdc5fb1 for channel 1 of the video display controller.

The default value for these parameters is:

hachiko/SDRAM:

Board

vdc5fb0=3 vdc5fb1=4

Hachiko:

Board

vdc5fb0=0 vdc5fb1=0

The meaning of the values are here reported:

Channel 0 (vdc5fb0):

  • (0) unuse
  • (1) / (2) reserved for RZARSK dev board
  • (3) LCD parallel out enabled

Channel 1 (vdc5fb1):

  • (0) unuse
  • (1) / (2) / (3) reserved for RZARSK dev board
  • (4) LVDS output

It is possible to modify the default setting in U-Boot with the command:

Board

env set fbparam vdc5fb0=$B vdc5fb1=$A

with $A and $B the new set of parameters. To make the configuration permanent:

Board

saveenv

Note

For the hachiko board without external SDRAM the usage of framebuffer can result in instability if not used with care.

8.2.3. Change Framebuffer Resolution

The default kernel shipped has the following default resolutions:

LCD parallel out:

480x272

LVDS output:

800x480

to change them the file arch/arm/mach-shmobile/rskrza1-vdc5fb.c must be modified. Specifically the two structures containing the screen timings are:

Channel 0 (parallel LCD):

struct fb_videomode videomode_wqvga_lcd_kit

Channel 1 (LVDS):

struct fb_videomode videomode_lvds