Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Lubuntu 16.04 on Toshiba AC100

  1. #11
    Join Date
    Sep 2012
    Beans
    74

    Re: Lubuntu 16.04 on Toshiba AC100

    @markteras
    I had lubuntu 12.04 installed.
    Thanks, but I already tried to install the opensuse image, after writing the new BCT, the ac100 is only black, it not booting from sd card or emmc.

    Backup restore from 2nd partition fails ...
    Code:
    ./nvflash -r --download 2 part02.img 
    
     Nvflash started
     [resume mode]
    
     failed executing command 14 NvError 0x120002
    
     command failure: partition download failed (bad command)
    not shure what went wrong ...

    Any hints?
    Last edited by asgard2; March 2nd, 2018 at 09:08 PM.

  2. #12
    Join Date
    Feb 2017
    Beans
    10

    Re: Lubuntu 16.04 on Toshiba AC100

    Shouldn't the command be nvflash -- r --download?

    Or try

    -- resume -- download

    -resume --download

    Or try without --r or -- resume

    I seem to remember having a similar problem and I think one of those fixed it

    Why partition 2: was BCT there?

    Bootloader was on 6 wasn't it?
    Last edited by markteras; March 3rd, 2018 at 12:52 AM.

  3. #13
    Join Date
    Sep 2012
    Beans
    74

    Re: Lubuntu 16.04 on Toshiba AC100

    Should be correct.
    Code:
     Write the image <filename> partition <N> of your AC100: 
    
     $ nvflash -r --download <N> <filename>   
    
    Read the partition <N> from the AC100 to the file <filename>: 
     $ nvflash -r --read <N> <filename>
    https://ac100.grandou.net/nvflash

    https://ac100.grandou.net/backups

    my partitiontable:
    Code:
    PartitionId=2
    Name=BCT
    DeviceId=18
    StartSector=0
    NumSectors=1536
    BytesPerSector=2048
    
    
    PartitionId=3
    Name=PT
    DeviceId=18
    StartSector=1536
    NumSectors=256
    BytesPerSector=2048
    
    
    PartitionId=4
    Name=EBT
    DeviceId=18
    StartSector=1792
    NumSectors=1024
    BytesPerSector=2048
    
    
    PartitionId=5
    Name=SOS
    DeviceId=18
    StartSector=2816
    NumSectors=2560
    BytesPerSector=2048
    
    
    PartitionId=6
    Name=LNX
    DeviceId=18
    StartSector=5376
    NumSectors=4096
    BytesPerSector=2048
    
    
    PartitionId=7
    Name=MBR
    DeviceId=18
    StartSector=9472
    NumSectors=512
    BytesPerSector=2048
    
    
    PartitionId=8
    Name=APP
    DeviceId=18
    StartSector=9984
    NumSectors=153600
    BytesPerSector=2048
    
    
    PartitionId=9
    Name=CAC
    DeviceId=18
    StartSector=163584
    NumSectors=204800
    BytesPerSector=2048
    
    
    PartitionId=10
    Name=MSC
    DeviceId=18
    StartSector=368384
    NumSectors=1024
    BytesPerSector=2048
    
    
    PartitionId=11
    Name=EM1
    DeviceId=18
    StartSector=369408
    NumSectors=256
    BytesPerSector=2048
    
    
    PartitionId=12
    Name=UDA
    DeviceId=18
    StartSector=369664
    NumSectors=632320
    BytesPerSector=2048
    
    
    PartitionId=13
    Name=EM2
    DeviceId=18
    StartSector=1001984
    NumSectors=256
    BytesPerSector=2048
    
    
    PartitionId=14
    Name=UDB
    DeviceId=18
    StartSector=1002240
    NumSectors=2905344
    BytesPerSector=2048
    Last edited by asgard2; March 3rd, 2018 at 10:27 AM.

  4. #14
    Join Date
    Feb 2017
    Beans
    10

    Re: Lubuntu 16.04 on Toshiba AC100

    I would run:

    $ sudo ./nvflash --resume --download 2 part02.img

    to fix your problem

    (I was using Windows nvflash, but that doesn't matter; check below)


    You've got exactly the same partition table as mine but for the last one. This is mine:

    PartitionId=14
    Name=UDB
    DeviceId=18
    StartSector=1002240
    NumSectors=6774016
    BytesPerSector=2048

    Meaning you have got a smaller number of sectors on 14 (8gb version?) and mine is 16gb, but that doesn't matter, of course.

    Look at this excerpt from ac100 chat log I have saved:

    17:32 < nabhoth> any advice? I am trying to flash the partition 5 using the prepare-for-ubuntu but either it hangs or have a problem

    reported
    17:34 < ogra_> nabhoth, either restart the ac100 between the two nvflash commands or use the --resume option for the

    second one
    17:35 < ogra_> (instead of --bl fastboot.bin)
    17:35 < nabhoth> thank you

    And this log discusses --resume

    http://salaliitto.com/~gildean/ac100/ac100log.txt

    I recall that I had the same problem when uploading Ubuntu bootimg bootloader and had found this site

    http://bis.org.pl/en:ac100

    with this:


    Files can be downloaded from this site or copied from the device itself, using the following commands:
    nvflash --bl bootloader.bin --go
    nvflash --resume --getpartitiontable partitiontable.txt
    for i in 2 3 4 5 6 7 8 9 10 11 12 13; do
    sudo

    nvflash --resume --read $i part-$i.img
    done
    Sometimes nvflash –read hangs. If it happens, You should restart the machine again, load the bootloader again (first click) and then

    continue from the failed operation.
    * The BCT is the first 4080 bytes of partition 2
    * The bootloader occupies 1066kB initial partition 4 (the data from my version).
    After doing the backup, you can proceed to programming the device.

    Programming for the first time
    $ sudo ./nvflash --bct ac100.bct --setbct --configfile linux.cfg --create --bl bootloader.bin --go
    Nvflash started


    Bootloader (runs in RAM and accepts commands):
    $ sudo ./nvflash --bl bootloader.bin --go
    Nvflash started
    rcm version 0X20001
    System Information:
    chip name: t20
    chip id: 0x20

    major: 1 minor: 2
    chip sku: 0x8
    chip uid: 0x161c11034260e057
    macrovision: disabled
    hdcp: enabled
    sbk burned: false
    dk

    burned: false
    boot device: emmc
    operating mode: 3
    device config strap: 1
    device config fuse: 0
    sdram config strap: 1

    downloading

    bootloader -- load address: 0x108000 entry point: 0x108000
    sending file: bootloader.bin
    / 779268/779268 bytes sent
    bootloader.bin

    sent successfully
    waiting for bootloader to initialize
    bootloader downloaded successfully
    Kernel:
    $ sudo ./nvflash --resume --download 6 linux.img
    Nvflash started



    I have used --resume --download and it had worked.

  5. #15
    Join Date
    Sep 2012
    Beans
    74

    Re: Lubuntu 16.04 on Toshiba AC100

    Yes it is the 8GB version

    I the used "-r" already, should be the same as "--resume" (see nvflash --help).

    But I could now restore my 2nd partition with
    Code:
    ./nvflash -r --rawdevicewrite    0    1536 part02.img

    It seems that the opensuse u-boot binary is not working on ac100?

    Code:
    ./nvflash --bl u-boot.bin --sync
    is stuck on waiting to initialize ...

    Code:
    sudo tegrarcm --bct u-boot.bct --bootloader u-boot.bin --loadaddr=0x00108000 --entryaddr=0x00108000
    ...
    tegrarcm: error downloading bct: u-boot.bct: Input/output error
    Last edited by asgard2; March 4th, 2018 at 11:23 AM.

  6. #16
    Join Date
    Feb 2017
    Beans
    10

    Re: Lubuntu 16.04 on Toshiba AC100

    Can't help you with BCT on OpenSuse. You have just reached the limit of my knowledge, I never tried it, but I know that guys on
    OpenSuse forum could help because they do that stuff. I suggest you post BCT code there. Here
    https://forums.opensuse.org/showthre...t-with-U-boot?
    I asked them if it would be possible to dual-boot Lubuntu with OpenSuse, but this developer called zombah
    https://forums.opensuse.org/member.php/18826-zombah?
    said no because Ubuntu bootloader is closed and Uboot completely open-source, they don't play nice together.
    OpenSuse installation defaults to external SD card.
    I know he still deals with AC100 software, see here:
    https://plus.google.com/communities/...78603263932646
    and here
    https://github.com/zombah/android_device_toshiba_ac100
    If you try it again with OpenSuse, and succeed, or get some answers out of them, let me know, will you? I might want to try it sooner or later.

  7. #17
    Join Date
    Sep 2012
    Beans
    74

    Re: Lubuntu 16.04 on Toshiba AC100

    Quote Originally Posted by markteras View Post
    If you try it again with OpenSuse, and succeed, or get some answers out of them, let me know, will you? I might want to try it sooner or later.
    There could be an incompatibility with newer version which maybe break it.

    - a full backup

    - the SOS boot image from his guide is working, you can write a new bct to the 2nd partition, with the scripts getbct.sh, mkbct.sh, uploadbct.sh .

    Now we can boot Tumbleweed from sdcard, the other internal partitions should be untouched .

    I tried LXQT, it seems buggy and I don't like yast
    ... and I need to figure out, how to move it to the internal emmc.

  8. #18
    Join Date
    Feb 2017
    Beans
    10

    Re: Lubuntu 16.04 on Toshiba AC100

    Thanks for that.
    KDE on OpenSuse should be best, it's their default DE, but how the hell could this work in 512MB RAM? Could you install anything

    with YAST?

    Wish we could put together 16.04, but I'm not up to it.

    On the other hand Debian has armhf installation ISOs, so I don't know.

    https://cdimage.debian.org/debian-cd.../armhf/iso-cd/

  9. #19
    Join Date
    Sep 2012
    Beans
    74

    Re: Lubuntu 16.04 on Toshiba AC100

    No, I didn't try ... but I used zypper.

    That should be something like this, a debian/ubuntu armhf version with uboot.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •